]> git.proxmox.com Git - wasi-libc.git/blame - libc-top-half/musl/arch/powerpc/bits/shm.h
WASI libc prototype implementation.
[wasi-libc.git] / libc-top-half / musl / arch / powerpc / bits / shm.h
CommitLineData
320054e8
DG
1#define SHMLBA 4096
2
3struct shmid_ds {
4 struct ipc_perm shm_perm;
5 int __unused1;
6 time_t shm_atime;
7 int __unused2;
8 time_t shm_dtime;
9 int __unused3;
10 time_t shm_ctime;
11 int __unused4;
12 size_t shm_segsz;
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
20struct shminfo {
21 unsigned long shmmax, shmmin, shmmni, shmseg, shmall, __unused[4];
22};
23
24struct shm_info {
25 int __used_ids;
26 unsigned long shm_tot, shm_rss, shm_swp;
27 unsigned long __swap_attempts, __swap_successes;
28};
29