Open System Services System Calls Reference Manual (G06.29+, H06.08+, J06.03+)
System Functions (s and S) spt_writevx(2)
[EALREADY] Operation already in progress. An I/O operation started by a thread-aware func-
tion (such as spt_writez()) is in progress on a regular file and a function that is
process-blocking for regular files (such as read(), spt_read(),orspt_readx())
attempts to begin an I/O operation on the same open file.
[EBADF] The filedes parameter is not a valid file 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 available.
• The connection was forcibly closed by the peer socket.
The file descriptor specified by the filedes parameter can only be closed.
[EFAULT] Part of the iov parameter points to a location outside of the allocated address
space of the process.
[EFBIG] An attempt was made to write a file that exceeds the maximum file size.
[EGUARDIANLOCKED]
An spt_writevx( ) operation was attempted to a file in the Guardian file system
(that is, a file 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 file position pointer associated with the file specified by the filedes
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 overflowed a
data item of type ssize_t.
• The sum of the iov_len values in the iov array overflowed an integer.
[EIO] One of these conditions occurred:
• The process is a member of a background process group attempting to
write to its controlling terminal, the TOSTOP flag 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. The device holding the file might be in
the down state, or both processors that provide access to the device
might have failed. Data might have been lost during a transfer.
[EISGUARDIAN]
The value used for the filedes parameter is appropriate only in the Guardian
environment.
527186-023 Hewlett-Packard Company 7−469