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

System Functions (s and S) spt_f
ushx(2)
[EINTR] The spt_fushx() function was interrupted by a signal that was caught.
[EIO] The TOSTOP tty local mode causes a background process to get a SIGTTOU
signal if it attempts to write to the controlling terminal. The SIGTTOU signal, if
it is not caught or ignored, will cause the process to block in a stopped state. A
process in an orphaned process group is not allowed to become stopped, since
there is no unprivileged process to unblock it. This condition only applies to
operations on stdio streams associated with ttys.
[EIO] is also associated with driver errors.
[ENOSPC] There was no free space remaining on the device containing the le.
[EPIPE] An attempt is made to write to a pipe or FIFO that is not open for reading by any
process. A SIGPIPE signal will also be sent to the process.
RELATED INFORMATION
Functions: close(2), exit(2), fclose(3), fush(3), fopen(3), setbuf(3), spt_fclosex(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.
527186-005 Hewlett-Packard Company 7123