File: sem.h-data

package info (click to toggle)
glibc 2.19-11
  • links: PTS, VCS
  • area: main
  • in suites: jessie
  • size: 202,392 kB
  • ctags: 140,042
  • sloc: ansic: 969,214; asm: 241,208; sh: 10,046; makefile: 8,471; cpp: 3,595; perl: 2,077; pascal: 1,839; awk: 1,704; yacc: 317; sed: 73
file content (39 lines) | stat: -rw-r--r-- 851 bytes parent folder | download | duplicates (10)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined POSIX && !defined POSIX2008
constant SEM_UNDO

constant GETNCNT
constant GETPID
constant GETVAL
constant GETALL
constant GETZCNT
constant SETVAL
constant SETALL

type {struct semid_ds}

element {struct semid_ds} {struct ipc_perm} sem_perm
element {struct semid_ds} {unsigned short int} sem_nsems
element {struct semid_ds} time_t sem_otime
element {struct semid_ds} time_t sem_ctime

type pid_t
type time_t
type key_t
type size_t

type {struct sembuf}

element {struct sembuf} {unsigned short int} sem_num
element {struct sembuf} {short int} sem_op
element {struct sembuf} {short int} sem_flg

function int semctl (int, int, int, ...)
function int semget (key_t, int, int)
function int semop (int, struct sembuf*, size_t)

allow-header sys/ipc.h

allow sem*
allow SEM_*
allow *_t
#endif