1 #if !defined ISO && !defined ISO99 && !defined ISO11 && !defined XPG3 && !defined XPG4
6 function int sem_close (sem_t*)
7 function int sem_destroy (sem_t*)
8 function int sem_getvalue (sem_t*, int*)
9 function int sem_init (sem_t*, int, unsigned int)
10 function {sem_t*} sem_open (const char*, int, ...)
11 function int sem_post (sem_t*)
12 # if !defined POSIX && !defined UNIX98
13 function int sem_timedwait (sem_t*, const struct timespec*)
15 function int sem_trywait (sem_t*)
16 function int sem_unlink (const char*)
17 function int sem_wait (sem_t*)
20 # if !defined POSIX2008 && !defined XOPEN2K8
21 allow-header sys/types.h
23 # if !defined POSIX && !defined UNIX98 && !defined XOPEN2K