From 6f9b2bd1bcb0eaed5ce209c276fe274005837720 Mon Sep 17 00:00:00 2001 From: sam Date: Mon, 4 Dec 2006 18:39:11 +0000 Subject: document recent change to return ECONNRESET for tcp sockets MFC after: 1 month --- lib/libc/sys/close.2 | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'lib/libc/sys') 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 , -- cgit v1.1