Open System Services System Calls Reference Manual (G06.28+)
System Functions (s and S) select(2)
ERRORS
If any of these conditions occurs, the select() function sets errno to the corresponding value:
[EBADF] One of the specified file descriptor sets is invalid. One of these conditions
occurred:
• The invalid file descriptor set contains a file descriptor for a file that is
not open.
• 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.
[EINTR] A signal was delivered before the time limit specified by the timeout parameter
expired and before any of the selected events occurred.
[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 HP NonStop
node, but communication 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.
See the Guardian Procedure Errors and Messages Manual for more information about a specific
Guardian file-system error.
RELATED INFORMATION
Functions: fcntl(2), read(2), write(2).
STANDARDS CONFORMANCE
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.
527186-005 Hewlett-Packard Company 7−9