mirror of https://github.com/mkerrisk/man-pages
shmctl.2: Copy information on 'shmid_ds' fields from sysvipc(7)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
5c6233fd47
commit
c41cf60e5c
|
@ -82,6 +82,47 @@ struct shmid_ds {
|
|||
.EE
|
||||
.in
|
||||
.PP
|
||||
The fields of the
|
||||
.I shmid_ds
|
||||
structure are as follows:
|
||||
.TP 12
|
||||
.I shm_perm
|
||||
.I ipc_perm
|
||||
structure that specifies the access permissions on the shared memory
|
||||
segment.
|
||||
.TP
|
||||
.I shm_segsz
|
||||
Size in bytes of the shared memory segment.
|
||||
.TP
|
||||
.I shm_cpid
|
||||
ID of the process that created the shared memory segment.
|
||||
.TP
|
||||
.I shm_lpid
|
||||
ID of the last process that executed a
|
||||
.BR shmat (2)
|
||||
or
|
||||
.BR shmdt (2)
|
||||
system call.
|
||||
.TP
|
||||
.I shm_nattch
|
||||
Number of current alive attaches for this shared memory segment.
|
||||
.TP
|
||||
.I shm_atime
|
||||
Time of the last
|
||||
.BR shmat (2)
|
||||
system call.
|
||||
.TP
|
||||
.I shm_dtime
|
||||
Time of the last
|
||||
.BR shmdt (2)
|
||||
system call.
|
||||
.TP
|
||||
.I shm_ctime
|
||||
Time of the last
|
||||
.BR shmctl (2)
|
||||
system call that changed
|
||||
.IR shmid_ds .
|
||||
.PP
|
||||
The
|
||||
.I ipc_perm
|
||||
structure is defined as follows
|
||||
|
|
Loading…
Reference in New Issue