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

System Functions (s and S) spt_readz(2)
[EINVAL] The value of the nbytes parameter is greater than SSIZE_MAX.
[EIO] One of these conditions occurred:
The process is a member of a background process group attempting to
read from its controlling terminal, the process is ignoring or blocking the
SIGTTIN signal, or the process group is orphaned.
A physical I/O error occurred. Data might have been lost during a
transfer.
[EISDIR] A spt_readz() operation was attempted against a directory.
[EISGUARDIAN]
The value used for the filedes parameter is appropriate only in the Guardian
environment.
[ENETDOWN]
The filedes parameter specifies a file on a remote HP NonStop node, but com-
munication with the remote node has been lost.
[ENOTCONN] The socket is no longer connected to a peer socket.
[EOVERFLOW]
The file is a regular file, the value of nbyte is greater than 0 (zero), the starting
position is before the End-of-File (EOF), and the starting position is greater than
or equal to the file offset maximum established when the file described by filedes
was opened.
[ETIMEDOUT]
Data transmission on the socket timed out.
[EWOULDBLOCK]
The process attempted an operation on a socket for which O_NONBLOCK is
set, there is no data, and no error has occurred.
[EWRONGID] One of these conditions occurred:
The process attempted an operation through an operating system
input/output process (such as a terminal server process) that has failed or
is in the down state.
The processor for the disk process of the specified file failed during an
input or output operation, and takeover by the backup process occurred.
The open file descriptor has migrated to a new processor, but the new
processor lacks a resource or system process needed for using the file
descriptor.
The file descriptor specified by the filedes parameter can only be closed.
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.
527186-023 Hewlett-Packard Company 7361