msgctl.2: Correct description of 'msg_ctime' field

Verified by inspecting kernel source.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2020-04-16 11:48:08 +02:00
parent 6cd15a0567
commit bff15b74e0
1 changed files with 6 additions and 5 deletions

View File

@ -63,7 +63,8 @@ struct msqid_ds {
struct ipc_perm msg_perm; /* Ownership and permissions */
time_t msg_stime; /* Time of last msgsnd(2) */
time_t msg_rtime; /* Time of last msgrcv(2) */
time_t msg_ctime; /* Time of last change */
time_t msg_ctime; /* Creation time/time of last
modification via msgctl() */
unsigned long __msg_cbytes; /* Current number of bytes in
queue (nonstandard) */
msgqnum_t msg_qnum; /* Current number of messages
@ -114,10 +115,10 @@ Time of the last
system call.
.TP
.I msg_ctime
Time of the last
system call that changed a member of the
.I msqid_ds
structure.
Time of creation of queue or time of last
.BR msgctl ()
.BR IPC_SET
operation.
.PP
The
.I ipc_perm