Open System Services Library Calls Reference Manual (G06.29+, H06.08+, J06.03+)
putw(3) OSS Library Calls Reference Manual
[EBADF] The file descriptor underlying stream is not a valid file descriptor open for writ-
ing.
[EFBIG] An attempt was made to write at or beyond the file offset maximum.
[EINTR] The write 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 may 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 non-existent device, or the request was outside the
capabilities 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: ferror(3), fputc(3), getc(3), getwc(3), printf(3), putc(3), putchar(3), puts(3),
putwc(3).
STANDARDS CONFORMANCE
The [ENOMEM] and [ENXIO] errno values are extensions to the POSIX standard defined in the
XPG4 specification.
5−122 Hewlett-Packard Company 527187-017