This commit is contained in:
Michael Kerrisk 2007-10-03 06:22:00 +00:00
parent 45cbde66dd
commit d314dbfda1
3 changed files with 4 additions and 4 deletions

View File

@ -46,6 +46,7 @@ shmctl \- shared memory control
.SH SYNOPSIS .SH SYNOPSIS
.ad l .ad l
.B #include <sys/ipc.h> .B #include <sys/ipc.h>
.br
.B #include <sys/shm.h> .B #include <sys/shm.h>
.sp .sp
.BI "int shmctl(int " shmid ", int " cmd ", struct shmid_ds *" buf ); .BI "int shmctl(int " shmid ", int " cmd ", struct shmid_ds *" buf );

View File

@ -39,6 +39,7 @@ shmget \- allocates a shared memory segment
.SH SYNOPSIS .SH SYNOPSIS
.ad l .ad l
.B #include <sys/ipc.h> .B #include <sys/ipc.h>
.br
.B #include <sys/shm.h> .B #include <sys/shm.h>
.sp .sp
.BI "int shmget(key_t " key ", size_t " size ", int " shmflg ); .BI "int shmget(key_t " key ", size_t " size ", int " shmflg );

View File

@ -39,10 +39,8 @@
shmop, shmat, shmdt \- shared memory operations shmop, shmat, shmdt \- shared memory operations
.SH SYNOPSIS .SH SYNOPSIS
.nf .nf
.B .B #include <sys/types.h>
#include <sys/types.h> .B #include <sys/shm.h>
.B
#include <sys/shm.h>
.fi .fi
.sp .sp
.BI "void *shmat(int " shmid , .BI "void *shmat(int " shmid ,