File: struct_kernel_shmid64_ds.h

package info (click to toggle)
glibc 2.36-9%2Bdeb12u12
  • links: PTS, VCS
  • area: main
  • in suites: bookworm-proposed-updates
  • size: 299,992 kB
  • sloc: ansic: 1,055,666; asm: 324,942; makefile: 15,198; python: 12,603; sh: 10,884; cpp: 5,685; awk: 1,883; perl: 518; yacc: 292; pascal: 182; sed: 39
file content (18 lines) | stat: -rw-r--r-- 738 bytes parent folder | download | duplicates (12)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/* Analogous to kernel struct shmid64_ds used on shmctl.  */
struct kernel_shmid64_ds
{
  struct ipc_perm shm_perm;		/* operation permission struct */
  unsigned long int shm_atime_high;
  unsigned long int shm_atime;		/* time of last shmat() */
  unsigned long int shm_dtime_high;
  unsigned long int shm_dtime;		/* time of last shmdt() */
  unsigned long int shm_ctime_high;
  unsigned long int shm_ctime;		/* time of last change by shmctl() */
  unsigned long int __pad;
  size_t shm_segsz;			/* size of segment in bytes */
  __pid_t shm_cpid;			/* pid of creator */
  __pid_t shm_lpid;			/* pid of last shmop */
  shmatt_t shm_nattch;		/* number of current attaches */
  unsigned long int __unused1;
  unsigned long int __unused2;
};