add arch/generic include fallback to build rules
[musl.git] / arch / i386 / bits / shm.h
blob547581f1a7f5c6986ba477a824c08cd2ff514bc6
1 #define SHMLBA 4096
3 struct shmid_ds
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;
20 struct shminfo {
21 unsigned long shmmax, shmmin, shmmni, shmseg, shmall, __unused[4];
24 struct shm_info {
25 int __used_ids;
26 unsigned long shm_tot, shm_rss, shm_swp;
27 unsigned long __swap_attempts, __swap_successes;