Open System Services System Calls Reference Manual (G06.28+, H06.05+)

spt_acceptx(2) OSS System Calls Reference Manual
[ENFILE] The maximum number of le descriptors for this processor are already open.
[ENOBUFS] Not enough buffer space was available to complete the call. A retry at a later
time might succeed.
[ENOMEM] Required memory resources were not available. A retry at a later time might
succeed.
[ENOTSOCK] The socket parameter does not specify a socket.
[EOPNOTSUPP]
The socket type of the specied socket does not support accepting connections.
[EWOULDBLOCK]
The sockets le descriptor is marked nonblocking (O_NONBLOCK is set) and
no connections are present to be accepted.
RELATED INFORMATION
Functions: accept(2), bind(2), connect(2), listen(2), socket(2), spt_accept(2), pthread_kill(2).
STANDARDS CONFORMANCE
This function is an extension to the UNIX 98 specication. Interfaces documented on this refer-
ence page conform to the following industry standards:
IEEE Std 1003.1c-1995, POSIX System Application Program Interface
The use of the header le spthread.h is an HP exception to the POSIX standard.
The XPG4 specication allows certain behaviors of accept() to be implementer-dened. For an
indication of the HP implementation behaviors, see the accept(2) reference page either online or
in the Open System Services System Calls Reference Manual.
792 Hewlett-Packard Company 527186-007