shmop.2: Add subheads for shmat() and shmdt()

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2014-04-28 09:18:07 +02:00
parent 11adc9b9e2
commit 587c51d1f9
1 changed files with 3 additions and 1 deletions

View File

@ -51,6 +51,7 @@ shmat, shmdt \- System V shared memory operations
.BI "int shmdt(const void *" shmaddr );
.fi
.SH DESCRIPTION
.SS shmat()
.BR shmat ()
attaches the System V shared memory segment identified by
.I shmid
@ -131,7 +132,8 @@ is set to the process-ID of the calling process.
.IP
.I shm_nattch
is incremented by one.
.PP
.\"
.SS shmdt()
.BR shmdt ()
detaches the shared memory segment located at the address specified by
.I shmaddr