Open System Services System Calls Reference Manual (G06.28+)
spt_getsx(2) OSS System Calls Reference Manual
[EBADF] The file descriptor underlying the input stream is not a valid file descriptor or is
not open for reading.
[EINTR] The read operation was interrupted by a signal which was caught and no data
was transferred.
[ENXIO] A request was made on a nonexistent device, or the request was outside the
capabilities of the device.
[EIO] The call is attempting to read from the process’s controlling terminal and either
the process is ignoring or blocking the SIGTTIN signal or the process group is
orphaned.
[ENOMEM] Insufficient memory is available for the operation.
Any error encountered during the underlying call to the spt_readx() function can cause this
function to return the corresponding errno value reported by the spt_readx() function. If your
application program encounters an errno value not listed above, refer to the spt_readx(2) refer-
ence page either online or in the Open System Services System Calls Reference Manual for infor-
mation about the cause of that error.
RELATED INFORMATION
Functions: clearerr(3), feof(3), ferror(3), fgets(3), fileno(3), fopen(3), fread(3), getc(3),
gets(3), getwc(3), puts(3), scanf(3), spt_freadx(2), spt_getcx(2), spt_gets(2), spt_getwcx(2),
spt_putsx(2).
STANDARDS CONFORMANCE
This function is an extension to the UNIX 98 specification. 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 file spthread.h is an HP exception to the POSIX standard.
7−186 Hewlett-Packard Company 527186-005