From: Michael Kerrisk Date: Thu, 16 Apr 2020 09:41:47 +0000 (+0200) Subject: shmctl.2: Correct 'shm_ctime' description X-Git-Tag: man-pages-5.07~329 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a85bc85d5db9b6b2bfe817a25e6910b9b8ccc3b0;p=thirdparty%2Fman-pages.git shmctl.2: Correct 'shm_ctime' description Verified from kernel sources. Signed-off-by: Michael Kerrisk --- diff --git a/man2/shmctl.2 b/man2/shmctl.2 index 350c2bb582..aaa594f971 100644 --- a/man2/shmctl.2 +++ b/man2/shmctl.2 @@ -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