HP-UX Reference (11i v3 07/02) - 2 System Calls (vol 5)
s
shutdown(2) shutdown(2)
[EINVAL]
HP-UX BSD Sockets only. The specified socket is not connected.
[ENOTCONN]
X/Open Sockets only. The specified socket is not connected.
[EINVAL]
X/Open Sockets only. The how argument is invalid.
WARNINGS
Linking binary objects compiled to X/Open Sockets specification and binary objects compiled to HP-UX
BSD Sockets specification to the same executable may result in unexpected behavior, including application
abnormal termination and unexpected socket errors. See xopen_networking(7) for details and remedy.
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, UNIX 95, UNIX 03
HP-UX 11i Version 3: February 2007 − 2 − Hewlett-Packard Company 421