summaryrefslogtreecommitdiff
path: root/lib/libc
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2002-03-31 20:34:58 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2002-03-31 20:34:58 +0000
commitb3700c8e6b0544e9163845a0c611aec61bc4e87b (patch)
tree74858648d6eaf1f1700939de8d5d38d9bcd80d4d /lib/libc
parent71e68997ac98ceb31b71f904e4f98055bcdca5b6 (diff)
doc ECONNREFUSED; maurice@amaze.nl
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/sys/recv.212
1 files changed, 11 insertions, 1 deletions
diff --git a/lib/libc/sys/recv.2 b/lib/libc/sys/recv.2
index d374f094b01..99ff324bc5b 100644
--- a/lib/libc/sys/recv.2
+++ b/lib/libc/sys/recv.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: recv.2,v 1.25 2002/01/02 15:57:16 mpech Exp $
+.\" $OpenBSD: recv.2,v 1.26 2002/03/31 20:34:57 deraadt Exp $
.\" $NetBSD: recv.2,v 1.6 1995/02/27 12:36:08 cgd Exp $
.\"
.\" Copyright (c) 1983, 1990, 1991, 1993
@@ -282,6 +282,16 @@ was larger than
.El
.Pp
Also,
+.Fn recv
+may return the following error:
+.Bl -tag -width Er
+.It Bq Er ECONNREFUSED
+The socket is associated with a connection-oriented protocol
+and the connection was forcefully rejected (see
+.Xr connect 2 ) .
+.El
+.Pp
+And
.Fn recvmsg
may return one of the following errors:
.Bl -tag -width Er