summaryrefslogtreecommitdiff
path: root/lib/libc/sys/msgsnd.2
diff options
context:
space:
mode:
authorJason McIntyre <jmc@cvs.openbsd.org>2003-02-27 07:55:35 +0000
committerJason McIntyre <jmc@cvs.openbsd.org>2003-02-27 07:55:35 +0000
commitf36e6664ef5b0b95c9d20b486bdaa90d50793a2f (patch)
tree7f42aa1dff02c4d174417573ba13d5059cc2a8b8 /lib/libc/sys/msgsnd.2
parent20a38f7751c32178609e61903526ddaa7a1e5544 (diff)
typos;
Diffstat (limited to 'lib/libc/sys/msgsnd.2')
-rw-r--r--lib/libc/sys/msgsnd.217
1 files changed, 9 insertions, 8 deletions
diff --git a/lib/libc/sys/msgsnd.2 b/lib/libc/sys/msgsnd.2
index 8e7e524b07b..dc0ea973342 100644
--- a/lib/libc/sys/msgsnd.2
+++ b/lib/libc/sys/msgsnd.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: msgsnd.2,v 1.9 2001/08/06 10:42:26 mpech Exp $
+.\" $OpenBSD: msgsnd.2,v 1.10 2003/02/27 07:55:34 jmc Exp $
.\" $NetBSD: msgsnd.2,v 1.2 1997/03/27 08:20:36 mikel Exp $
.\"
.\" Copyright (c) 1995 Frank van der Linden
@@ -48,7 +48,7 @@ The
function sends a message from the message queue specified in
.Fa msqid .
.Fa msgp
-points to a structuer containing the message.
+points to a structure containing the message.
This structure should consist of the following members:
.Bd -literal
long mtype; /* message type */
@@ -64,10 +64,11 @@ is an array of bytes, with a size up to that of the system limit
.Pp
If the number of bytes already on the message queue plus
.Fa msgsz
-is bigger than the maximum number of bytes on the message queue (
-.Va msg_qbytes ,
-see
-.Xr msgctl 2 ) ,
+is bigger than the maximum number of bytes on the message queue
+.Po Va msg_qbytes ,
+ see
+.Xr msgctl 2
+.Pc ,
or the number of messages on all queues system-wide is already equal to
the system limit,
.Fa msgflg
@@ -88,7 +89,7 @@ set in it, the call will block until:
The condition which caused the call to block does no longer exist.
The message will be sent.
.It
-The messag queue is removed, in which case \-1 will be returned, and
+The message queue is removed, in which case \-1 will be returned, and
.Va errno
is set to
.Er EINVAL .
@@ -127,7 +128,7 @@ will fail if:
.Bl -tag -width Er
.It Bq Er EINVAL
.Fa msqid
-is not a valid message queue identifier
+is not a valid message queue identifier.
.Pp
The message queue was removed while
.Fn msgsnd