summaryrefslogtreecommitdiffstats
path: root/lib/libc/sys/shutdown.2
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/sys/shutdown.2')
-rw-r--r--lib/libc/sys/shutdown.24
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/sys/shutdown.2 b/lib/libc/sys/shutdown.2
index 976f958..3059793 100644
--- a/lib/libc/sys/shutdown.2
+++ b/lib/libc/sys/shutdown.2
@@ -57,7 +57,7 @@ is 1, further sends will be disallowed.
If
.Fa how
is 2, further sends and receives will be disallowed.
-.Sh DIAGNOSTICS
+.Sh RETURN VALUES
A 0 is returned if the call succeeds, -1 if it fails.
.Sh ERRORS
The call succeeds unless:
@@ -76,6 +76,6 @@ The specified socket is not connected.
.Xr socket 2
.Sh HISTORY
The
-.Nm
+.Fn shutdown
function call appeared in
.Bx 4.2 .
OpenPOWER on IntegriCloud