aboutsummaryrefslogtreecommitdiffstats
path: root/man2/msgctl.2
diff options
context:
space:
mode:
Diffstat (limited to 'man2/msgctl.2')
-rw-r--r--man2/msgctl.218
1 files changed, 9 insertions, 9 deletions
diff --git a/man2/msgctl.2 b/man2/msgctl.2
index 620c014536..97f3457f23 100644
--- a/man2/msgctl.2
+++ b/man2/msgctl.2
@@ -55,9 +55,9 @@ on the System\ V message queue with identifier
The
.I msqid_ds
data structure is defined in \fI<sys/msg.h>\fP as follows:
-.nf
+.PP
.in +4n
-
+.EX
struct msqid_ds {
struct ipc_perm msg_perm; /* Ownership and permissions */
time_t msg_stime; /* Time of last msgsnd(2) */
@@ -72,8 +72,8 @@ struct msqid_ds {
pid_t msg_lspid; /* PID of last msgsnd(2) */
pid_t msg_lrpid; /* PID of last msgrcv(2) */
};
-.in
.fi
+.in
.PP
The
.I ipc_perm
@@ -81,8 +81,8 @@ structure is defined as follows
(the highlighted fields are settable using
.BR IPC_SET ):
.PP
-.nf
.in +4n
+.nf
struct ipc_perm {
key_t __key; /* Key supplied to msgget(2) */
uid_t \fBuid\fP; /* Effective UID of owner */
@@ -92,8 +92,8 @@ struct ipc_perm {
unsigned short \fBmode\fP; /* Permissions */
unsigned short __seq; /* Sequence number */
};
-.in
.fi
+.in
.PP
Valid values for
.I cmd
@@ -161,9 +161,9 @@ defined in
if the
.B _GNU_SOURCE
feature test macro is defined:
-.nf
+.IP
.in +4n
-
+.EX
struct msginfo {
int msgpool; /* Size in kibibytes of buffer pool
used to hold message data;
@@ -185,9 +185,9 @@ struct msginfo {
/* Maximum number of segments;
unused within kernel */
};
-
+.EE
.in
-.fi
+.IP
The
.IR msgmni ,
.IR msgmax ,