summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/sys/getpeername.22
-rw-r--r--lib/libc/sys/getsockname.22
2 files changed, 4 insertions, 0 deletions
diff --git a/lib/libc/sys/getpeername.2 b/lib/libc/sys/getpeername.2
index 25e84c3..49924f2 100644
--- a/lib/libc/sys/getpeername.2
+++ b/lib/libc/sys/getpeername.2
@@ -89,6 +89,8 @@ The call succeeds unless:
The argument
.Fa s
is not a valid descriptor.
+.It Bq Er ECONNRESET
+The connection has been reset by the peer.
.It Bq Er ENOTSOCK
The argument
.Fa s
diff --git a/lib/libc/sys/getsockname.2 b/lib/libc/sys/getsockname.2
index 95a5278..54f06ea 100644
--- a/lib/libc/sys/getsockname.2
+++ b/lib/libc/sys/getsockname.2
@@ -87,6 +87,8 @@ The call succeeds unless:
The argument
.Fa s
is not a valid descriptor.
+.It Bq Er ECONNRESET
+The connection has been reset by the peer.
.It Bq Er ENOTSOCK
The argument
.Fa s
OpenPOWER on IntegriCloud