summaryrefslogtreecommitdiffstats
path: root/lib/libc/sys/close.2
diff options
context:
space:
mode:
authorsam <sam@FreeBSD.org>2006-12-04 18:39:11 +0000
committersam <sam@FreeBSD.org>2006-12-04 18:39:11 +0000
commit6f9b2bd1bcb0eaed5ce209c276fe274005837720 (patch)
treeaf129fd3ca9c59bf664921ad3aa9d1b42329d1b5 /lib/libc/sys/close.2
parent6c7489287679b434b86791746d54586a0a6befd4 (diff)
downloadFreeBSD-src-6f9b2bd1bcb0eaed5ce209c276fe274005837720.zip
FreeBSD-src-6f9b2bd1bcb0eaed5ce209c276fe274005837720.tar.gz
document recent change to return ECONNRESET for tcp sockets
MFC after: 1 month
Diffstat (limited to 'lib/libc/sys/close.2')
-rw-r--r--lib/libc/sys/close.25
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/libc/sys/close.2 b/lib/libc/sys/close.2
index 04dbe3d..c355d2d 100644
--- a/lib/libc/sys/close.2
+++ b/lib/libc/sys/close.2
@@ -32,7 +32,7 @@
.\" @(#)close.2 8.2 (Berkeley) 4/19/94
.\" $FreeBSD$
.\"
-.Dd April 19, 1994
+.Dd December 4, 2006
.Dt CLOSE 2
.Os
.Sh NAME
@@ -118,6 +118,9 @@ is not an active descriptor.
An interrupt was received.
.It Bq Er ENOSPC
The underlying object did not fit, cached data was lost.
+.It Bq Er ECONNRESET
+The underlying object was a stream socket that was shutdown by the peer
+before all pending data was delivered.
.El
.Sh SEE ALSO
.Xr accept 2 ,
OpenPOWER on IntegriCloud