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

System Functions (s and S) spt_getcharx(2)
[EINTR] The read operation was interrupted by a signal that 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 on this reference page, see the
spt_readx(2) reference page either online or in the Open System Services System Calls Refer-
ence Manual for information about the cause of that error.
RELATED INFORMATION
Functions: fgetc(3), getc(3), getchar(3), gets(3), getwc(3), putc(3), read(2), spt_fgetcx(2),
spt_getcx(2), spt_getsx(2), spt_getwcx(2), spt_putcx(2), spt_readx(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.
527186-023 Hewlett-Packard Company 7263