summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorGilles Chehade <gilles@cvs.openbsd.org>2008-07-29 20:15:54 +0000
committerGilles Chehade <gilles@cvs.openbsd.org>2008-07-29 20:15:54 +0000
commite951e1ffd017eefdf18a6d3796757ea961304538 (patch)
tree19dbde5c88a04df143e76a97ad2459f7202cef85 /lib
parent512e9ee4cd096c40d127074d753b4634b6b01cf3 (diff)
clarify EMSGSIZE
rewording by jmc@, "lovely" deraadt@
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/sys/recv.211
1 files changed, 9 insertions, 2 deletions
diff --git a/lib/libc/sys/recv.2 b/lib/libc/sys/recv.2
index 959dd154d7e..ee0ad778d88 100644
--- a/lib/libc/sys/recv.2
+++ b/lib/libc/sys/recv.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: recv.2,v 1.35 2007/05/31 19:19:33 jmc Exp $
+.\" $OpenBSD: recv.2,v 1.36 2008/07/29 20:15:53 gilles Exp $
.\" $NetBSD: recv.2,v 1.6 1995/02/27 12:36:08 cgd Exp $
.\"
.\" Copyright (c) 1983, 1990, 1991, 1993
@@ -30,7 +30,7 @@
.\"
.\" @(#)recv.2 8.3 (Berkeley) 2/21/94
.\"
-.Dd $Mdocdate: May 31 2007 $
+.Dd $Mdocdate: July 29 2008 $
.Dt RECV 2
.Os
.Sh NAME
@@ -331,6 +331,13 @@ member of
.Fa msg
was less than 0 or larger than
.Dv IOV_MAX .
+.It Bq Er EMSGSIZE
+The receiving program did not have sufficient
+free file descriptor slots.
+The descriptors are closed
+and any pending data can be returned
+by another call to
+.Fn recvmsg .
.El
.Sh SEE ALSO
.Xr connect 2 ,