diff options
author | gjb <gjb@FreeBSD.org> | 2010-09-06 21:39:54 +0000 |
---|---|---|
committer | gjb <gjb@FreeBSD.org> | 2010-09-06 21:39:54 +0000 |
commit | 7e9f743010fe0932c73bbfa3bc7b39a707a69479 (patch) | |
tree | 7534a707e93d1babfa7a298906e25eab116ee5c4 /lib/libc | |
parent | a55080dd3731477dec8326a4cd1359273598b6ad (diff) | |
download | FreeBSD-src-7e9f743010fe0932c73bbfa3bc7b39a707a69479.zip FreeBSD-src-7e9f743010fe0932c73bbfa3bc7b39a707a69479.tar.gz |
Add ECONNRESET to list of possible errors in connect(2).
PR: 148683
Submitted by: Gennady Proskurin <gpr at mail dot ru>
Approved by: keramida (mentor)
MFC after: 1 week
Diffstat (limited to 'lib/libc')
-rw-r--r-- | lib/libc/sys/connect.2 | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/libc/sys/connect.2 b/lib/libc/sys/connect.2 index c673a83..ac019e8 100644 --- a/lib/libc/sys/connect.2 +++ b/lib/libc/sys/connect.2 @@ -28,7 +28,7 @@ .\" @(#)connect.2 8.1 (Berkeley) 6/4/93 .\" $FreeBSD$ .\" -.Dd August 16, 2006 +.Dd September 5, 2010 .Dt CONNECT 2 .Os .Sh NAME @@ -95,6 +95,8 @@ The socket is already connected. Connection establishment timed out without establishing a connection. .It Bq Er ECONNREFUSED The attempt to connect was forcefully rejected. +.It Bq Er ECONNRESET +The connection was reset by the remote host. .It Bq Er ENETUNREACH The network is not reachable from this host. .It Bq Er EHOSTUNREACH |