shmctl.2: Correct 'shm_ctime' description

Verified from kernel sources.

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

View 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