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

System Functions (s and S) spt_writevx(2)
ERRORS
If any of these conditions occurs, the spt_writevx() function sets errno to the corresponding
value:
[EAGAIN] One of these conditions occurred:
An attempt was made to write to a le descriptor that
cannot accept data, and the O_NONBLOCK ag is set.
A write to a pipe (FIFO le) of PIPE_BUF bytes or less
is requested, O_NONBLOCK is set, and not enough
free space is available.
The O_NONBLOCK ag is set on this le, and the pro-
cess would be delayed in the write operation.
[EBADF] The ledes parameter is not a valid le descriptor open for writ-
ing.
[ECONNRESET]
One of these conditions occurred:
The transport-provider process for this socket is no
longer available.
The TCP/IP subsystem for this socket is no longer avail-
able.
The connection was forcibly closed by the peer socket.
The le descriptor specied by the ledes parameter can only be
closed.
[EFAULT] Part of the iov parameter points to a location outside of the allo-
cated address space of the process.
[EFBIG] An attempt was made to write a le that exceeds the maximum
le size.
[EGUARDIANLOCKED]
An spt_writevx( ) operation was attempted to a le in the Guar-
dian le system (that is, a le in /G) that is locked.
[EINTR] An spt_writevx( ) operation was interrupted by a signal before
any data was written.
[EINVAL] One of these conditions occurred:
The le position pointer associated with the le
specied by the ledes parameter was negative.
The value of the iov_count parameter was less than or
equal to 0 (zero), or greater than IOV_MAX.
One of the iov_len values in the iov array was negative
or overowed a data item of type ssize_t.
The sum of the iov_len values in the iov array
overowed an integer.
527186-005 Hewlett-Packard Company 7353