initial commit
[glibc.git] / conform / data / sys / sem.h-data
1 #if !defined ISO && !defined ISO99 && !defined ISO11 && !defined POSIX && !defined POSIX2008
2 constant SEM_UNDO
3
4 constant GETNCNT
5 constant GETPID
6 constant GETVAL
7 constant GETALL
8 constant GETZCNT
9 constant SETVAL
10 constant SETALL
11
12 type {struct semid_ds}
13
14 element {struct semid_ds} {struct ipc_perm} sem_perm
15 // Bug 18232: wrong type for sem_nsems member.
16 xfail-element {struct semid_ds} {unsigned short int} sem_nsems
17 element {struct semid_ds} time_t sem_otime
18 element {struct semid_ds} time_t sem_ctime
19
20 type pid_t
21 type time_t
22 type key_t
23 type size_t
24
25 type {struct sembuf}
26
27 element {struct sembuf} {unsigned short int} sem_num
28 element {struct sembuf} {short int} sem_op
29 element {struct sembuf} {short int} sem_flg
30
31 function int semctl (int, int, int, ...)
32 function int semget (key_t, int, int)
33 function int semop (int, struct sembuf*, size_t)
34
35 allow-header sys/ipc.h
36
37 allow sem*
38 allow SEM_*
39 allow *_t
40 #endif