mips: FIx clone3 implementation (BZ 31325)
[glibc.git] / sysdeps / unix / sysv / linux / mips / struct_kernel_shmid64_ds.h
bloba4baa5614f435379f5b5f0bbe1408ab0b9b36a27
1 /* Analogous to kernel struct shmid64_ds used on shmctl. */
2 struct kernel_shmid64_ds
4 struct ipc_perm shm_perm;
5 size_t shm_segsz;
6 #if __TIMESIZE == 64
7 long int shm_atime;
8 long int shm_dtime;
9 long int shm_ctime;
10 #else
11 unsigned long int shm_atime;
12 unsigned long int shm_dtime;
13 unsigned long int shm_ctime;
14 #endif
15 __pid_t shm_cpid;
16 __pid_t shm_lpid;
17 unsigned long int shm_nattch;
18 #if __TIMESIZE == 64
19 unsigned long int __unused1;
20 unsigned long int __unused2;
21 #else
22 unsigned short int shm_atime_high;
23 unsigned short int shm_dtime_high;
24 unsigned short int shm_ctime_high;
25 unsigned short int __ununsed1;
26 #endif