From d7df07f611e0c742dfe6428e278c28867aebfab0 Mon Sep 17 00:00:00 2001 From: gilles Date: Tue, 29 Jul 2008 20:15:53 +0000 Subject: [PATCH] clarify EMSGSIZE rewording by jmc@, "lovely" deraadt@ --- lib/libc/sys/recv.2 | 11 +++++++++-- 1 file 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 , -- 2.20.1