Add i386 memset and memcpy assembly functions
[glibc.git] / conform / data / semaphore.h-data
blob8c3497baa624aad8e7aab21b1e4c2ac2f2de42c0
1 #if !defined ISO && !defined ISO99 && !defined ISO11 && !defined XPG3 && !defined XPG4
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 # if !defined POSIX && !defined UNIX98
13 function int sem_timedwait (sem_t*, const struct timespec*)
14 # endif
15 function int sem_trywait (sem_t*)
16 function int sem_unlink (const char*)
17 function int sem_wait (sem_t*)
19 allow-header fcntl.h
20 # if !defined POSIX2008 && !defined XOPEN2K8
21 allow-header sys/types.h
22 # endif
23 # if !defined POSIX && !defined UNIX98 && !defined XOPEN2K
24 allow-header time.h
25 # endif
27 allow sem_*
28 allow SEM_*
29 allow *_t
30 #endif