mirror of https://github.com/mkerrisk/man-pages
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:
parent
c41cf60e5c
commit
fc11d0e500
|
@ -87,9 +87,10 @@ The fields of the
|
||||||
structure are as follows:
|
structure are as follows:
|
||||||
.TP 12
|
.TP 12
|
||||||
.I shm_perm
|
.I shm_perm
|
||||||
|
This is an
|
||||||
.I ipc_perm
|
.I ipc_perm
|
||||||
structure that specifies the access permissions on the shared memory
|
structure (see below) that specifies the access permissions
|
||||||
segment.
|
on the shared memory segment.
|
||||||
.TP
|
.TP
|
||||||
.I shm_segsz
|
.I shm_segsz
|
||||||
Size in bytes of the shared memory segment.
|
Size in bytes of the shared memory segment.
|
||||||
|
@ -102,26 +103,27 @@ ID of the last process that executed a
|
||||||
.BR shmat (2)
|
.BR shmat (2)
|
||||||
or
|
or
|
||||||
.BR shmdt (2)
|
.BR shmdt (2)
|
||||||
system call.
|
system call on this segment.
|
||||||
.TP
|
.TP
|
||||||
.I shm_nattch
|
.I shm_nattch
|
||||||
Number of current alive attaches for this shared memory segment.
|
Number of processes that have this segment attached.
|
||||||
.TP
|
.TP
|
||||||
.I shm_atime
|
.I shm_atime
|
||||||
Time of the last
|
Time of the last
|
||||||
.BR shmat (2)
|
.BR shmat (2)
|
||||||
system call.
|
system call that attached this segment.
|
||||||
.TP
|
.TP
|
||||||
.I shm_dtime
|
.I shm_dtime
|
||||||
Time of the last
|
Time of the last
|
||||||
.BR shmdt (2)
|
.BR shmdt (2)
|
||||||
system call.
|
system call that detached tgis segment.
|
||||||
.TP
|
.TP
|
||||||
.I shm_ctime
|
.I shm_ctime
|
||||||
Time of the last
|
Time of the last
|
||||||
.BR shmctl (2)
|
.BR shmctl (2)
|
||||||
system call that changed
|
system call that changed the
|
||||||
.IR shmid_ds .
|
.IR shmid_ds
|
||||||
|
structure.
|
||||||
.PP
|
.PP
|
||||||
The
|
The
|
||||||
.I ipc_perm
|
.I ipc_perm
|
||||||
|
|
Loading…
Reference in New Issue