repo.or.cz
/
musl.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
add arch/generic include fallback to build rules
[musl.git]
/
arch
/
i386
/
bits
/
shm.h
blob
547581f1a7f5c6986ba477a824c08cd2ff514bc6
1
#define SHMLBA 4096
2
3
struct
shmid_ds
4
{
5
struct
ipc_perm shm_perm
;
6
size_t
shm_segsz
;
7
time_t
shm_atime
;
8
int
__unused1
;
9
time_t
shm_dtime
;
10
int
__unused2
;
11
time_t
shm_ctime
;
12
int
__unused3
;
13
pid_t shm_cpid
;
14
pid_t shm_lpid
;
15
unsigned long
shm_nattch
;
16
unsigned long
__pad1
;
17
unsigned long
__pad2
;
18
};
19
20
struct
shminfo
{
21
unsigned long
shmmax
,
shmmin
,
shmmni
,
shmseg
,
shmall
,
__unused
[
4
];
22
};
23
24
struct
shm_info
{
25
int
__used_ids
;
26
unsigned long
shm_tot
,
shm_rss
,
shm_swp
;
27
unsigned long
__swap_attempts
,
__swap_successes
;
28
};
29