aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2012-06-01 00:31:57 +1200
committerMichael Kerrisk <mtk.manpages@gmail.com>2012-06-08 03:10:25 +1200
commit548be2a60ec1c286bbaeafaba0c9bda1966a561a (patch)
tree8afc07377f26f6cb6f709048619782be4a804712
parent718588ebd2d7c5919d97ba35d912eb3c912c71e3 (diff)
downloadman-pages-548be2a60ec1c286bbaeafaba0c9bda1966a561a.tar.gz
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>
-rw-r--r--man2/msgctl.22
-rw-r--r--man2/semctl.22
-rw-r--r--man2/shmctl.22
-rw-r--r--man7/svipc.74
4 files changed, 4 insertions, 6 deletions
diff --git a/man2/msgctl.2 b/man2/msgctl.2
index 9514f856b3..2cdb876259 100644
--- a/man2/msgctl.2
+++ b/man2/msgctl.2
@@ -75,7 +75,7 @@ struct msqid_ds {
.PP
The
.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
.BR IPC_SET ):
.PP
diff --git a/man2/semctl.2 b/man2/semctl.2
index 457a395a4f..f16e94144d 100644
--- a/man2/semctl.2
+++ b/man2/semctl.2
@@ -93,7 +93,7 @@ struct semid_ds {
.PP
The
.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
.BR IPC_SET ):
.PP
diff --git a/man2/shmctl.2 b/man2/shmctl.2
index a77c2fa0ca..18b9c096e8 100644
--- a/man2/shmctl.2
+++ b/man2/shmctl.2
@@ -81,7 +81,7 @@ struct shmid_ds {
.PP
The
.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
.BR IPC_SET ):
.PP
diff --git a/man7/svipc.7 b/man7/svipc.7
index a29a0185c1..baa4ea5c54 100644
--- a/man7/svipc.7
+++ b/man7/svipc.7
@@ -47,9 +47,7 @@ to store information needed in determining permissions to perform an
IPC operation.
The
.I ipc_perm
-structure, defined by the
-.I <sys/ipc.h>
-system header file, includes the following members:
+structure includes the following members:
.in +4n
.nf