summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/libc/gen/msgctl.322
1 files changed, 11 insertions, 11 deletions
diff --git a/lib/libc/gen/msgctl.3 b/lib/libc/gen/msgctl.3
index 7978725..ddd827c 100644
--- a/lib/libc/gen/msgctl.3
+++ b/lib/libc/gen/msgctl.3
@@ -31,7 +31,7 @@
.\"
.\" $FreeBSD$
.\"/
-.Dd November 24, 1997
+.Dd April 3, 2008
.Dt MSGCTL 3
.Os
.Sh NAME
@@ -65,9 +65,9 @@ struct msqid_ds {
struct ipc_perm msg_perm; /* msg queue permission bits */
struct msg *msg_first; /* first message in the queue */
struct msg *msg_last; /* last message in the queue */
- u_long msg_cbytes; /* number of bytes in use on the queue */
- u_long msg_qnum; /* number of msgs in the queue */
- u_long msg_qbytes; /* max # of bytes on the queue */
+ msglen_t msg_cbytes; /* number of bytes in use on the queue */
+ msgqnum_t msg_qnum; /* number of msgs in the queue */
+ msglen_t msg_qbytes; /* max # of bytes on the queue */
pid_t msg_lspid; /* pid of last msgsnd() */
pid_t msg_lrpid; /* pid of last msgrcv() */
time_t msg_stime; /* time of last msgsnd() */
@@ -89,13 +89,13 @@ structure is defined in
and looks like this:
.Bd -literal
struct ipc_perm {
- ushort cuid; /* creator user id */
- ushort cgid; /* creator group id */
- ushort uid; /* user id */
- ushort gid; /* group id */
- ushort mode; /* r/w permission */
- ushort seq; /* sequence # (to generate unique msg/sem/shm id) */
- key_t key; /* user specified msg/sem/shm key */
+ unsigned short cuid; /* creator user id */
+ unsigned short cgid; /* creator group id */
+ unsigned short uid; /* user id */
+ unsigned short gid; /* group id */
+ unsigned short mode; /* r/w permission */
+ unsigned short seq; /* sequence # (to generate unique ipcid) */
+ key_t key; /* user specified msg/sem/shm key */
};
.Ed
.Pp
OpenPOWER on IntegriCloud