]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
shmctl.2: Correct 'shm_ctime' description
authorMichael Kerrisk <mtk.manpages@gmail.com>
Thu, 16 Apr 2020 09:41:47 +0000 (11:41 +0200)
committerMichael Kerrisk <mtk.manpages@gmail.com>
Thu, 16 Apr 2020 09:41:47 +0000 (11:41 +0200)
Verified from kernel sources.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
man2/shmctl.2

index 350c2bb582fddbbeef6e285f03fce8c12e07d3cf..aaa594f9714870894ddeb32e290e5feff138a273 100644 (file)
@@ -73,7 +73,8 @@ struct shmid_ds {
     size_t          shm_segsz;   /* Size of segment (bytes) */
     time_t          shm_atime;   /* Last attach time */
     time_t          shm_dtime;   /* Last detach time */
-    time_t          shm_ctime;   /* Last change time */
+    time_t          shm_ctime;   /* Creation time/time of last
+                                    modification via shmctl() */
     pid_t           shm_cpid;    /* PID of creator */
     pid_t           shm_lpid;    /* PID of last shmat(2)/shmdt(2) */
     shmatt_t        shm_nattch;  /* No. of current attaches */
@@ -119,11 +120,10 @@ Time of the last
 system call that detached tgis segment.
 .TP
 .I shm_ctime
-Time of the last
+Time of creation of segment or time of the last
 .BR shmctl (2)
-system call that changed the
-.IR shmid_ds
-structure.
+.BR IPC_SET
+operation.
 .PP
 The
 .I ipc_perm