msgctl.2: Copy information on 'msqid_ds' fields from sysvipc(7)

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2020-02-25 16:27:56 +01:00
parent dd7f869f66
commit cce90cf33a
1 changed files with 43 additions and 0 deletions

View File

@ -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