2 struct ipc_perm shm_perm; /* operation perms */
3 int shm_segsz; /* size of segment (bytes) */
4 time_t shm_atime; /* last attach time */
5 time_t shm_dtime; /* last detach time */
6 time_t shm_ctime; /* last change time */
7 unsigned short shm_cpid; /* pid of creator */
8 unsigned short shm_lpid; /* pid of last operator */
9 short shm_nattch; /* no. of current attaches */