]> git.proxmox.com Git - wasi-libc.git/blob - libc-top-half/musl/arch/generic/bits/shm.h
45d1d157832388d8ef93ba4f9ae3a8bd5ec91d76
[wasi-libc.git] / libc-top-half / musl / arch / generic / bits / shm.h
1 #define SHMLBA 4096
2
3 struct shmid_ds {
4 struct ipc_perm shm_perm;
5 size_t shm_segsz;
6 time_t shm_atime;
7 int __unused1;
8 time_t shm_dtime;
9 int __unused2;
10 time_t shm_ctime;
11 int __unused3;
12 pid_t shm_cpid;
13 pid_t shm_lpid;
14 unsigned long shm_nattch;
15 unsigned long __pad1;
16 unsigned long __pad2;
17 };
18
19 struct shminfo {
20 unsigned long shmmax, shmmin, shmmni, shmseg, shmall, __unused[4];
21 };
22
23 struct shm_info {
24 int __used_ids;
25 unsigned long shm_tot, shm_rss, shm_swp;
26 unsigned long __swap_attempts, __swap_successes;
27 };
28