2004-11-18 Alexandre Oliva <aoliva@redhat.com>
[glibc.git] / conform / data / semaphore.h-data
blobdf29e0c01bcc9c5bf405aef88b02630c89a2fb7e
1 #if !defined ISO
2 type sem_t
4 constant SEM_FAILED
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 function int sem_timedwait (sem_t*, const struct timespec*)
13 function int sem_trywait (sem_t*)
14 function int sem_unlink (const char*)
15 function int sem_wait (sem_t*)
17 # if !defined POSIX
18 allow-header fcntl.h
19 allow-header sys/types.h
20 # endif
22 allow sem_*
23 allow SEM_*
24 allow *_t
25 #endif