From bff15b74e03baf1ac567eba6690afe855e21f690 Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Thu, 16 Apr 2020 11:48:08 +0200 Subject: [PATCH] msgctl.2: Correct description of 'msg_ctime' field Verified by inspecting kernel source. Signed-off-by: Michael Kerrisk --- man2/msgctl.2 | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/man2/msgctl.2 b/man2/msgctl.2 index dea4b4b97..507c21d02 100644 --- a/man2/msgctl.2 +++ b/man2/msgctl.2 @@ -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