shmctl.2: Some small improvements to the description of the 'shmid_ds' structure

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2020-02-25 15:26:22 +01:00
parent c41cf60e5c
commit fc11d0e500
1 changed files with 10 additions and 8 deletions

View File

@ -87,9 +87,10 @@ The fields of the
structure are as follows:
.TP 12
.I shm_perm
This is an
.I ipc_perm
structure that specifies the access permissions on the shared memory
segment.
structure (see below) that specifies the access permissions
on the shared memory segment.
.TP
.I shm_segsz
Size in bytes of the shared memory segment.
@ -102,26 +103,27 @@ ID of the last process that executed a
.BR shmat (2)
or
.BR shmdt (2)
system call.
system call on this segment.
.TP
.I shm_nattch
Number of current alive attaches for this shared memory segment.
Number of processes that have this segment attached.
.TP
.I shm_atime
Time of the last
.BR shmat (2)
system call.
system call that attached this segment.
.TP
.I shm_dtime
Time of the last
.BR shmdt (2)
system call.
system call that detached tgis segment.
.TP
.I shm_ctime
Time of the last
.BR shmctl (2)
system call that changed
.IR shmid_ds .
system call that changed the
.IR shmid_ds
structure.
.PP
The
.I ipc_perm