HP-UX Reference (11i v2 04/09) - 2 System Calls (vol 5)

s
shutdown(2) shutdown(2)
[EINVAL]
HP-UX BSD Sockets only. The specified socket is not connected.
[ENOTCONN]
_XOPEN_SOURCE_EXTENDED only.
The specified socket is not connected.
[EINVAL]
_XOPEN_SOURCE_EXTENDED only.
The how argument is invalid.
FUTURE DIRECTION
Currently, the default behavior is the HP-UX BSD Sockets; however, it might be changed to X/Open
Sockets in a future release. At that time, any HP-UX BSD Sockets behavior that is incompatible with
X/Open Sockets might be obsoleted. Applications that conform to the X/Open specification now will
avoid migration problems (see xopen_networking(7)).
AUTHOR
shutdown() was developed by HP and the University of California, Berkeley.
SEE ALSO
close(2), connect(2), socket(2), xopen_networking(7).
STANDARDS CONFORMANCE
shutdown(): XPG4
HP-UX 11i Version 2: September 2004 2 Hewlett-Packard Company Section 2367