summaryrefslogtreecommitdiff
path: root/usr/src/man/man3socket/recv.3socket
diff options
context:
space:
mode:
authorRobert Mustacchi <rm@joyent.com>2014-12-03 19:45:58 +0000
committerRobert Mustacchi <rm@joyent.com>2014-12-04 09:08:35 -0800
commita95756817154e8f4dfc0fd0963ce91ea4f5e34fb (patch)
tree31467365f6caad9c3355d560f121db8552e998c0 /usr/src/man/man3socket/recv.3socket
parenta4754370e3396d98214a2a2bbb89a23555b2cff2 (diff)
downloadillumos-gate-a95756817154e8f4dfc0fd0963ce91ea4f5e34fb.tar.gz
5385 socket I/O related manuals don't document ECONNRESET
Reviewed by: Keith Wesolowski <keith.wesolowski@joyent.com> Reviewed by: Dan McDonald <danmcd@omniti.com> Approved by: Gordon Ross <gwr@nexenta.com>
Diffstat (limited to 'usr/src/man/man3socket/recv.3socket')
-rw-r--r--usr/src/man/man3socket/recv.3socket13
1 files changed, 12 insertions, 1 deletions
diff --git a/usr/src/man/man3socket/recv.3socket b/usr/src/man/man3socket/recv.3socket
index 5f987e43f0..870da95019 100644
--- a/usr/src/man/man3socket/recv.3socket
+++ b/usr/src/man/man3socket/recv.3socket
@@ -4,7 +4,7 @@
.\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License.
.\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License.
.\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
-.TH RECV 3SOCKET "Aug 20, 2007"
+.TH RECV 3SOCKET "Dec 03, 2014"
.SH NAME
recv, recvfrom, recvmsg \- receive a message from a socket
.SH SYNOPSIS
@@ -135,6 +135,17 @@ The \fIs\fR file descriptor is invalid.
.sp
.ne 2
.na
+\fB\fBECONNRESET\fR\fR
+.ad
+.RS 16n
+The \fIs\fR argument refers to a connection oriented socket and the connection
+was forcibly closed by the peer and is no longer valid. I/O can no longer be
+performed to \fIfiledes\fR.
+.RE
+
+.sp
+.ne 2
+.na
\fB\fBEINVAL\fR\fR
.ad
.RS 16n