about summary refs log tree commit diff
path: root/sysdeps/unix/sysv/linux/mips/struct_kernel_shmid64_ds.h
blob: a4baa5614f435379f5b5f0bbe1408ab0b9b36a27 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
/* Analogous to kernel struct shmid64_ds used on shmctl.  */
struct kernel_shmid64_ds
{
  struct ipc_perm shm_perm;
  size_t shm_segsz;
#if __TIMESIZE == 64
  long int shm_atime;
  long int shm_dtime;
  long int shm_ctime;
#else
  unsigned long int shm_atime;
  unsigned long int shm_dtime;
  unsigned long int shm_ctime;
#endif
  __pid_t shm_cpid;
  __pid_t shm_lpid;
  unsigned long int shm_nattch;
#if __TIMESIZE == 64
  unsigned long int __unused1;
  unsigned long int __unused2;
#else
  unsigned short int shm_atime_high;
  unsigned short int shm_dtime_high;
  unsigned short int shm_ctime_high;
  unsigned short int __ununsed1;
#endif
};