1 struct msqid_ds { 2 struct ipc_perm msg_perm; 3 unsigned long __msg_stime_hi; 4 unsigned long __msg_stime_lo; 5 unsigned long __msg_rtime_hi; 6 unsigned long __msg_rtime_lo; 7 unsigned long __msg_ctime_hi; 8 unsigned long __msg_ctime_lo; 9 unsigned long msg_cbytes; 10 msgqnum_t msg_qnum; 11 msglen_t msg_qbytes; 12 pid_t msg_lspid; 13 pid_t msg_lrpid; 14 unsigned long __unused[2]; 15 time_t msg_stime; 16 time_t msg_rtime; 17 time_t msg_ctime; 18 }; 19