Open System Services System Calls Reference Manual (G06.25+, H06.03+)
close(2) OSS System Calls Reference Manual
RELATED INFORMATION
Functions: exec(2), fcntl(2), getsockopt(2), open(2), pipe(2), setsockopt(2), socket(2),
tdm_execve(2), tdm_execvep(2).
Files: signal(4).
STANDARDS CONFORMANCE
This function does not return the errno value [EINTR].
For an AF_INET or AF_INET6 socket, even if all these are true:
• The socket is connection-oriented.
• The SO_LINGER option is enabled for the socket.
• The socket has untransmitted data.
the close() function does not block. The system attempts to deliver unsent data after the close()
function is called, although that action can be disabled. See the setsockopt(2) reference page for
additional information.
HP extensions to the XPG4 Version 2 specification are:
• The close() function can return the errno value [EISGUARDIAN].
1−26 Hewlett-Packard Company 527186-003