Open System Services System Calls Reference Manual (G06.28+, H06.05+)
System Functions (s and S) spt_getwx(2)
[EBADF] The file descriptor underlying the stream is not a valid file descriptor or is not
open for reading.
[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.
RELATED INFORMATION
Functions: fgetc(3), getc(3), getchar(3), gets(3), getw(3), getwc(3), putc(3), spt_fgetcx(2),
spt_getcx(2), spt_getcharx(2), spt_getsx(2), spt_getwcx(2), spt_putcx(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-007 Hewlett-Packard Company 7−199