Open System Services System Calls Reference Manual (G06.27+, H06.04+)

System Functions (w) write(2)
RELATED INFORMATION
Functions: creat(2), fcntl(2), lseek(2), open(2), pipe(2), socket(2), ulimit(3).
STANDARDS CONFORMANCE
The HP implementation does not generate the
SIGXFSZ signal. |
The POSIX standards leave some features to the implementing vendor to dene. These features
are affected in the HP implementation:
Calls to the write() function with the nbytes parameter equal to 0 are supported for all
regular and nonregular les.
After reading from a device that is incapable of seeking, the value of the le pointer is
always 0 (zero).
Specifying a value for the nbytes parameter that is greater than SSIZE_MAX causes the
write() function to return -1 and set errno to [EINVAL].
errno can be set to [EIO] if a physical I/O error occurs.
HP extensions to the XPG4 Version 2 specication are:
The errno values [ECONNRESET], [EFAULT], [EGUARDIANLOCKED], [EINVAL],
[ENETDOWN], [ENOTCONN], [ETIMEDOUT], and [EWRONGID] can be returned.
527186-004 Hewlett-Packard Company 1017