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

spt_readx(2) OSS System Calls Reference Manual
[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] An spt_readx() operation was attempted against a directory.
[EISGUARDIAN]
The value used for the ledes parameter is appropriate only in the Guar-
dian environment.
[ENETDOWN]
The ledes parameter species a le on a remote node, but communica-
tion with the remote node has been lost.
[ENOTCONN] The socket is no longer connected to a peer socket.
[ETIMEDOUT]
Data transmission on the socket timed out.
[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 specied le failed dur-
ing an input or output operation, and takeover by the backup
process occurred.
The open le descriptor has migrated to a new processor, but the
new processor lacks a resource or system process needed for
using the le descriptor.
The le descriptor specied by the ledes parameter can only be closed.
For all other error conditions, errno is set to the appropriate Guardian le-system error
number. For more information about a specic Guardian le-system error, see the Guar-
dian Procedure Errors and Messages Manual.
RELATED INFORMATION
Functions: creat(2), dup(2), fcntl(2), ioctl(2), lseek(2), open(2), opendir(3), pipe(2), read(2),
socket(2), spt_fcntlx(2), spt_read(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.
7266 Hewlett-Packard Company 527186-007