Open System Services System Calls Reference Manual (G06.28+)
spt_putsx(2) OSS System Calls Reference Manual
[EBADF] The file descriptor of the underlying stream is not a valid file descriptor open for
writing.
[EFBIG] An attempt was made to write to a file that exceeds the process’s file size limit or
the maximum file size.
[EINTR] The operation was interrupted by a signal that was caught, and no data was
transferred.
[EIO] The implementation supports job control; the process is a member of a back-
ground process group attempting to write to its controlling terminal; TOSTOP is
set; the process is neither ignoring nor blocking SIGTTOU, and the process
group of the process is orphaned. This error might also be returned under
implementation-defined conditions.
[ENOMEM] Insufficient storage space available.
[ENOSPC] There was no free space remaining on the device containing the file.
[ENXIO] A request was made of a nonexistent device, or the request was outside the capa-
bilities of the device.
[EPIPE] An attempt was 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: fputs(3), gets(3), getws(3), printf(3), putc(3), puts(3), putwc(3), putws(3),
spt_fputsx(2), spt_getsx(2), spt_getwsx(2), spt_printfx(2), spt_putcx(2), spt_putwsx(2),
spt_writex(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−226 Hewlett-Packard Company 527186-005