/usr/include
NameSizeModeActions
arpa/-0755rm
asm-generic/-0755rm
c++/-0755rm
drm/-0755rm
finclude/-0755rm
iproute2/-0755rm
libdmmp/-0755rm
linux/-0755rm
misc/-0755rm
mtd/-0755rm
net/-0755rm
netash/-0755rm
netatalk/-0755rm
netax25/-0755rm
neteconet/-0755rm
netinet/-0755rm
netipx/-0755rm
netiucv/-0755rm
netpacket/-0755rm
netrom/-0755rm
netrose/-0755rm
nfs/-0755rm
node/-0755rm
openssl/-0755rm
protocols/-0755rm
rdma/-0755rm
rpc/-0755rm
rpcsvc/-0755rm
scsi/-0755rm
sound/-0755rm
video/-0755rm
x86_64-linux-gnu/-0755rm
xen/-0755rm
xfs/-0755rm
aio.h74570644editdlrm
aliases.h20320644editdlrm
alloca.h12040644editdlrm
ar.h17310644editdlrm
argp.h254730644editdlrm
argz.h60510644editdlrm
assert.h46430644editdlrm
byteswap.h14050644editdlrm
complex.h71640644editdlrm
cpio.h22680644editdlrm
crypt.h111600644editdlrm
ctype.h109690644editdlrm
dirent.h125150644editdlrm
dlfcn.h74790644editdlrm
elf.h1773460644editdlrm
endian.h22990644editdlrm
envz.h28670644editdlrm
err.h22670644editdlrm
errno.h16790644editdlrm
error.h22820644editdlrm
execinfo.h15230644editdlrm
fcntl.h97100644editdlrm
features.h170790644editdlrm
fenv.h58740644editdlrm
fmtmsg.h32400644editdlrm
fnmatch.h22960644editdlrm
fstab.h31110644editdlrm
fts.h83730644editdlrm
ftw.h52520644editdlrm
gawkapi.h404860644editdlrm
gconv.h42110644editdlrm
getopt.h14690644editdlrm
glob.h66170644editdlrm
gnu-versions.h23430644editdlrm
gnumake.h29120644editdlrm
grp.h66870644editdlrm
gshadow.h45290644editdlrm
iconv.h18580644editdlrm
ifaddrs.h28410644editdlrm
inttypes.h118930644editdlrm
langinfo.h178490644editdlrm
lastlog.h1260644editdlrm
libgen.h13860644editdlrm
libintl.h45800644editdlrm
limits.h54170644editdlrm
link.h72070644editdlrm
locale.h76750644editdlrm
malloc.h61860644editdlrm
math.h464040644editdlrm
mcheck.h24350644editdlrm
memory.h9560644editdlrm
mntent.h33590644editdlrm
monetary.h18040644editdlrm
mpath_cmd.h41570644editdlrm
mpath_persist.h98090644editdlrm
mqueue.h37600644editdlrm
netdb.h281000644editdlrm
nl_types.h17530644editdlrm
nss.h18790644editdlrm
obstack.h213070644editdlrm
paths.h29830644editdlrm
poll.h220644editdlrm
printf.h68010644editdlrm
proc_service.h34770644editdlrm
pthread.h417010644editdlrm
pty.h15700644editdlrm
pwd.h61590644editdlrm
regex.h247150644editdlrm
regexp.h14480644editdlrm
resolv.h118730644editdlrm
re_comp.h9630644editdlrm
sched.h47330644editdlrm
search.h54500644editdlrm
semaphore.h27350644editdlrm
setjmp.h36700644editdlrm
sgtty.h13440644editdlrm
shadow.h54720644editdlrm
signal.h123090644editdlrm
spawn.h77580644editdlrm
stab.h2640644editdlrm
stdc-predef.h22900644editdlrm
stdint.h84740644editdlrm
stdio.h299500644editdlrm
stdio_ext.h28000644editdlrm
stdlib.h358350644editdlrm
string.h176600644editdlrm
strings.h47530644editdlrm
sudo_plugin.h82210644editdlrm
syscall.h250644editdlrm
sysexits.h52320644editdlrm
syslog.h240644editdlrm
tar.h37860644editdlrm
termio.h2140644editdlrm
termios.h35990644editdlrm
tgmath.h374190644editdlrm
threads.h66610644editdlrm
thread_db.h160240644editdlrm
time.h102760644editdlrm
ttyent.h24940644editdlrm
uchar.h20020644editdlrm
ucontext.h20370644editdlrm
ulimit.h15840644editdlrm
unistd.h428040644editdlrm
utime.h15020644editdlrm
utmp.h32230644editdlrm
utmpx.h41000644editdlrm
values.h19560644editdlrm
wait.h220644editdlrm
wchar.h311110644editdlrm
wctype.h55490644editdlrm
wordexp.h25020644editdlrm
Edit: /usr/include/semaphore.h (2735B)
/* Copyright (C) 2002-2020 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. The GNU C Library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with the GNU C Library; if not, see . */ #ifndef _SEMAPHORE_H #define _SEMAPHORE_H 1 #include #include #ifdef __USE_XOPEN2K # include #endif /* Get the definition for sem_t. */ #include __BEGIN_DECLS /* Initialize semaphore object SEM to VALUE. If PSHARED then share it with other processes. */ extern int sem_init (sem_t *__sem, int __pshared, unsigned int __value) __THROW __nonnull ((1)); /* Free resources associated with semaphore object SEM. */ extern int sem_destroy (sem_t *__sem) __THROW __nonnull ((1)); /* Open a named semaphore NAME with open flags OFLAG. */ extern sem_t *sem_open (const char *__name, int __oflag, ...) __THROW __nonnull ((1)); /* Close descriptor for named semaphore SEM. */ extern int sem_close (sem_t *__sem) __THROW __nonnull ((1)); /* Remove named semaphore NAME. */ extern int sem_unlink (const char *__name) __THROW __nonnull ((1)); /* Wait for SEM being posted. This function is a cancellation point and therefore not marked with __THROW. */ extern int sem_wait (sem_t *__sem) __nonnull ((1)); #ifdef __USE_XOPEN2K /* Similar to `sem_wait' but wait only until ABSTIME. This function is a cancellation point and therefore not marked with __THROW. */ extern int sem_timedwait (sem_t *__restrict __sem, const struct timespec *__restrict __abstime) __nonnull ((1, 2)); #endif #ifdef __USE_GNU extern int sem_clockwait (sem_t *__restrict __sem, clockid_t clock, const struct timespec *__restrict __abstime) __nonnull ((1, 3)); #endif /* Test whether SEM is posted. */ extern int sem_trywait (sem_t *__sem) __THROWNL __nonnull ((1)); /* Post SEM. */ extern int sem_post (sem_t *__sem) __THROWNL __nonnull ((1)); /* Get current value of SEM and store it in *SVAL. */ extern int sem_getvalue (sem_t *__restrict __sem, int *__restrict __sval) __THROW __nonnull ((1, 2)); __END_DECLS #endif /* semaphore.h */