summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2005-06-14 10:56:02 +0000
committerru <ru@FreeBSD.org>2005-06-14 10:56:02 +0000
commit5c7da1168941bb3997a18d803669bd5738a558f1 (patch)
treea74dbe085834f4dd17a1aeca8fb5e16a5a5b0358 /lib
parentd742076594e13b208f83b2bb4f4e21caa62d9d14 (diff)
downloadFreeBSD-src-5c7da1168941bb3997a18d803669bd5738a558f1.zip
FreeBSD-src-5c7da1168941bb3997a18d803669bd5738a558f1.tar.gz
When IPC_NOWAIT is set and there is no message, msgrcv() fails
with errno set to ENOMSG. PR: docs/82217 Submitted by: delphij Approved by: re (blanket)
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/gen/msgrcv.36
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libc/gen/msgrcv.3 b/lib/libc/gen/msgrcv.3
index 8c280ae..e554dcd 100644
--- a/lib/libc/gen/msgrcv.3
+++ b/lib/libc/gen/msgrcv.3
@@ -31,7 +31,7 @@
.\" $FreeBSD$
.\"
.\"/
-.Dd November 24, 1997
+.Dd June 15, 2005
.Dt MSGRCV 3
.Os
.Sh NAME
@@ -122,7 +122,7 @@ is set,
will immediately return a value of -1, and set
.Va errno
to
-.Er EAGAIN .
+.Er ENOMSG .
If
.Dv IPC_NOWAIT
is not set, the calling process will be blocked
@@ -206,7 +206,7 @@ argument
points to an invalid address.
.It Bq Er EINTR
The system call was interrupted by the delivery of a signal.
-.It Bq Er EAGAIN
+.It Bq Er ENOMSG
There is no message of the requested type available on the message queue,
and
.Dv IPC_NOWAIT
OpenPOWER on IntegriCloud