2.9
[glibc/nacl-glibc.git] / conform / data / semaphore.h-data
blob20fe0706b7cd1099927730dfca8977ecf2f4d34e
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
21 allow-header time.h
23 allow sem_*
24 allow SEM_*
25 allow *_t
26 #endif