summaryrefslogtreecommitdiff
path: root/conform/data/sys/shm.h-data
blob: a006cdbb92a6e46ce521feef0321a2ed4bca94b2 (plain)
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
#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined POSIX && !defined POSIX2008
constant SHM_RDONLY
symbol SHMLBA
constant SHM_RND

type shmatt_t

type {struct shmid_ds}

element {struct shmid_ds} {struct ipc_perm} shm_perm
element {struct shmid_ds} size_t shm_segsz
element {struct shmid_ds} pid_t shm_lpid
element {struct shmid_ds} pid_t shm_cpid
element {struct shmid_ds} shmatt_t shm_nattch
element {struct shmid_ds} time_t shm_atime
element {struct shmid_ds} time_t shm_dtime
element {struct shmid_ds} time_t shm_ctime

type pid_t
type time_t
type key_t
type size_t

function {void*} shmat (int, const void*, int)
function int shmctl (int, int, struct shmid_ds*)
function int shmdt (const void*)
function int shmget (key_t, size_t, int)

allow-header sys/ipc.h

allow shm*
allow SHM*
allow *_t
#endif