diff options
author | dds <dds@FreeBSD.org> | 2005-07-29 07:42:10 +0000 |
---|---|---|
committer | dds <dds@FreeBSD.org> | 2005-07-29 07:42:10 +0000 |
commit | a3aeeccbcaac4edcf4544fe10dca643066ea0d7a (patch) | |
tree | d69b4c70f98993e4ac2cf430774fa06d0e84ca27 | |
parent | b9e6c6d781096f754bb65e993c260008f40e460a (diff) | |
download | FreeBSD-src-a3aeeccbcaac4edcf4544fe10dca643066ea0d7a.zip FreeBSD-src-a3aeeccbcaac4edcf4544fe10dca643066ea0d7a.tar.gz |
Document the ECONNRESET errno value.
-rw-r--r-- | lib/libc/sys/read.2 | 5 | ||||
-rw-r--r-- | lib/libc/sys/recv.2 | 2 |
2 files changed, 7 insertions, 0 deletions
diff --git a/lib/libc/sys/read.2 b/lib/libc/sys/read.2 index fb452e9..6304f01 100644 --- a/lib/libc/sys/read.2 +++ b/lib/libc/sys/read.2 @@ -156,6 +156,11 @@ The .Fa d argument is not a valid file or socket descriptor open for reading. +.It Bq Er ECONNRESET +The +.Fa d +argument refers to a socket, and the remote socket end is +forcibly closed. .It Bq Er EFAULT The .Fa buf diff --git a/lib/libc/sys/recv.2 b/lib/libc/sys/recv.2 index 1fd4edd..f0eb35c 100644 --- a/lib/libc/sys/recv.2 +++ b/lib/libc/sys/recv.2 @@ -289,6 +289,8 @@ The calls fail if: The argument .Fa s is an invalid descriptor. +.It Bq Er ECONNRESET +The remote socket end is forcibly closed. .It Bq Er ENOTCONN The socket is associated with a connection-oriented protocol and has not been connected (see |