mirror of https://github.com/mkerrisk/man-pages
msgctl.2, semctl.2, shmctl.2, svipc.7: Don't mention that ipc_perm is defined in <sys/ipc.h>
There's no need to mention that the 'ipc_perm' structure is defined in <sys/ipc.h>. That's an implementation detail, and furthermore <sys/ipc.h> is itself included by the other System V IPC header files. The current text might lead the reader to conclude that they must include <sys/ipc.h>, which is not the case (it is required neither on Linux, nor by the standards). Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
718588ebd2
commit
548be2a60e
|
@ -75,7 +75,7 @@ struct msqid_ds {
|
||||||
.PP
|
.PP
|
||||||
The
|
The
|
||||||
.I ipc_perm
|
.I ipc_perm
|
||||||
structure is defined in \fI<sys/ipc.h>\fP as follows
|
structure is defined as follows
|
||||||
(the highlighted fields are settable using
|
(the highlighted fields are settable using
|
||||||
.BR IPC_SET ):
|
.BR IPC_SET ):
|
||||||
.PP
|
.PP
|
||||||
|
|
|
@ -93,7 +93,7 @@ struct semid_ds {
|
||||||
.PP
|
.PP
|
||||||
The
|
The
|
||||||
.I ipc_perm
|
.I ipc_perm
|
||||||
structure is defined in \fI<sys/ipc.h>\fP as follows
|
structure is defined as follows
|
||||||
(the highlighted fields are settable using
|
(the highlighted fields are settable using
|
||||||
.BR IPC_SET ):
|
.BR IPC_SET ):
|
||||||
.PP
|
.PP
|
||||||
|
|
|
@ -81,7 +81,7 @@ struct shmid_ds {
|
||||||
.PP
|
.PP
|
||||||
The
|
The
|
||||||
.I ipc_perm
|
.I ipc_perm
|
||||||
structure is defined in \fI<sys/ipc.h>\fP as follows
|
structure is defined as follows
|
||||||
(the highlighted fields are settable using
|
(the highlighted fields are settable using
|
||||||
.BR IPC_SET ):
|
.BR IPC_SET ):
|
||||||
.PP
|
.PP
|
||||||
|
|
|
@ -47,9 +47,7 @@ to store information needed in determining permissions to perform an
|
||||||
IPC operation.
|
IPC operation.
|
||||||
The
|
The
|
||||||
.I ipc_perm
|
.I ipc_perm
|
||||||
structure, defined by the
|
structure includes the following members:
|
||||||
.I <sys/ipc.h>
|
|
||||||
system header file, includes the following members:
|
|
||||||
.in +4n
|
.in +4n
|
||||||
.nf
|
.nf
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue