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

spt_writex(2) OSS System Calls Reference Manual
nbytes of free space are 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 does not specify a valid le descriptor
open for writing.
[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] The buffer parameter points to a location outside of the allocated
address space of the process.
[EFBIG] An attempt was made to write a le that exceeds the maximum
le size.
[EGUARDIANLOCKED]
An spt_writex() operation was attempted to a le in the Guar-
dian le system (that is, a le in /G) that is locked.
[EINTR] An spt_writex() 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 nbytes parameter is greater than
SSIZE_MAX.
[EIO] One of these conditions occurred:
The process is a member of a background process group
attempting to write to its controlling terminal, the TOS-
TOP ag is set, the process is neither ignoring nor
blocking the SIGTTOU signal, and the process group of
the process is orphaned.
A physical I/O error occurred. Data might have been
lost during a transfer.
[EISGUARDIAN]
The value used for the ledes parameter is appropriate only in
the Guardian environment.
7366 Hewlett-Packard Company 527186-005