Open System Services System Calls Reference Manual (G06.29+, H06.08+, J06.03+)

System Functions (s and S) select(2)
The invalid file descriptor set contains a file descriptor that identifies an
AF_INET AF_INET6 socket, but the current processor is not running a
transport agent process to support the socket. The file descriptor can
only be closed.
This error is also returned if the select() function is thread-aware and the socket
becomes invalid (is closed by another thread).
[EINTR] A signal was delivered before the time limit specified by the timeout parameter
expired and before any of the selected events occurred.
This error is also returned if the select() function is thread-aware and a signal
received from the pthread_kill() function is not blocked, ignored, or handled.
[EINVAL] One of these conditions occurred:
The value specified for the nfds parameter is less than 0 (zero) or greater
than FD_SETSIZE.
The time limit specified by the timeout parameter is invalid. One of its
components is negative or too large.
[ENETDOWN]
One of the specified file descriptors specifies a file on a remote node, but com-
munication with the remote node has been lost.
[ENOTSUP] One of the specified file descriptors specifies a terminal device that does not sup-
port select(). Only terminal devices on systems running G06.27 and later G-
series RVUs and H06.05 and later H-series RVUs support the select() function.
[ETHNOTRUNNING]
One of the specified file descriptors is a terminal device file descriptor and the
OSS terminal helper process is not running in the same processor as the applica-
tion. Under normal conditions, the OSS terminal helper process runs in all pro-
cessors. If this error is returned, contact your service provider and provide a
copy of the Event Management Service (EMS) log. If your local operating pro-
cedures require contacting the Global Customer Support Center (GCSC), supply
your system number and the numbers and versions of all related products as well.
For all other error conditions, errno is set to the appropriate Guardian file-system error number.
For more information about a specific Guardian file-system error, see the Guardian Procedure
Errors and Messages Manual.
RELATED INFORMATION
Functions: fcntl(2), read(2), spt_select(2), spt_select_single_np(2), write(2).
STANDARDS CONFORMANCE
This function is an extension to the XPG4 Version 2 specification.
HP extensions to the XPG4 Version 2 specification are:
The errno value [ENOTSUP] can be returned for a call that attempts to select a terminal
device file for a terminal process that does not support select(). Only terminal devices on
systems running G06.27 and later G-series RVUs and H06.05 and later H-series RVUs
support the select() function.
The errno value [ENETDOWN] can be returned.
527186-023 Hewlett-Packard Company 713