diff options
Diffstat (limited to 'lib')
-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 |