diff options
author | wollman <wollman@FreeBSD.org> | 1998-09-12 21:38:30 +0000 |
---|---|---|
committer | wollman <wollman@FreeBSD.org> | 1998-09-12 21:38:30 +0000 |
commit | 9aee196299648c93b416ff7774bda3da6934d78d (patch) | |
tree | a597d8a270bce7886714115300ea5b43f3bb2915 /lib/libc/sys/shutdown.2 | |
parent | 06c50449fdf8ff7f4b98685d7b77c9995e5ad8b4 (diff) | |
download | FreeBSD-src-9aee196299648c93b416ff7774bda3da6934d78d.zip FreeBSD-src-9aee196299648c93b416ff7774bda3da6934d78d.tar.gz |
Document the fact that shutdown(2) is expected to comply with Posix.1g,
when it happens.
Diffstat (limited to 'lib/libc/sys/shutdown.2')
-rw-r--r-- | lib/libc/sys/shutdown.2 | 23 |
1 files changed, 20 insertions, 3 deletions
diff --git a/lib/libc/sys/shutdown.2 b/lib/libc/sys/shutdown.2 index b83763f..99709a5 100644 --- a/lib/libc/sys/shutdown.2 +++ b/lib/libc/sys/shutdown.2 @@ -51,13 +51,19 @@ the socket associated with to be shut down. If .Fa how -is 0, further receives will be disallowed. +is +.No Dv SHUT_RD Pq 0 , +further receives will be disallowed. If .Fa how -is 1, further sends will be disallowed. +is +.No Dv SHUT_WR Pq 1 , +further sends will be disallowed. If .Fa how -is 2, further sends and receives will be disallowed. +is +.No Dv SHUT_RDWR Pq 2 , +further sends and receives will be disallowed. .Sh RETURN VALUES A 0 is returned if the call succeeds, -1 if it fails. .Sh ERRORS @@ -75,8 +81,19 @@ The specified socket is not connected. .Sh SEE ALSO .Xr connect 2 , .Xr socket 2 +.Sh STANDARDS +The +.Fn shutdown +function is expected to comply with +.St -p1003.1g , +when finalized. .Sh HISTORY The .Fn shutdown function call appeared in .Bx 4.2 . +The +.Dv SHUT_ +constants appeared in +.St -p1003.1g . + |