diff --git a/man2/msgctl.2 b/man2/msgctl.2 index bead7b34c..ac59ff862 100644 --- a/man2/msgctl.2 +++ b/man2/msgctl.2 @@ -76,6 +76,49 @@ struct msqid_ds { .EE .in .PP +The fields of the +.I msgid_ds +structure are as follows: +.TP 11 +.I msg_perm +This is an +.I ipc_perm +structure (see below) that specifies the access permissions on the message +queue. +.TP +.I msg_qnum +Number of messages currently on the message queue. +.TP +.I msg_qbytes +Maximum number of bytes of message text allowed on the message +queue. +.TP +.I msg_lspid +ID of the process that performed the last +.BR msgsnd (2) +system call. +.TP +.I msg_lrpid +ID of the process that performed the last +.BR msgrcv (2) +system call. +.TP +.I msg_stime +Time of the last +.BR msgsnd (2) +system call. +.TP +.I msg_rtime +Time of the last +.BR msgrcv (2) +system call. +.TP +.I msg_ctime +Time of the last +system call that changed a member of the +.I msqid_ds +structure. +.PP The .I ipc_perm structure is defined as follows