Open System Services System Calls Reference Manual (G06.29+, H06.08+, J06.03+)
spt_writez(2) OSS System Calls Reference Manual
• No existing device is associated with the file descriptor specified by the
filedes parameter.
[EPIPE] One of these conditions occurred:
• An attempt was made to write to a pipe or FIFO file that is not open for
reading by any process. A SIGPIPE signal is sent if the process is run-
ning in the OSS environment.
• An attempt was made to write to a pipe that has only one end open.
• An attempt was made to write to a socket that is shut down or closed.
[ETIMEDOUT]
Data transmission on the socket timed out.
[EWOULDBLOCK]
The process attempted an operation on a socket for which O_NONBLOCK is
set, there is no space available, and no error has occurred.
[EWRONGID] One of these conditions occurred:
• The process attempted an operation through an operating system
input/output process (such as a terminal server process) that has failed or
is in the down state.
• The processor for the disk process of the specified file failed during an
input or output operation, and takeover by the backup process occurred.
• The open file descriptor has migrated to a new processor, but the new
processor lacks a resource or system process needed for using the file
descriptor.
The file descriptor specified by the filedes parameter can only be closed.
For all other error conditions, errno is set to the appropriate Guardian file-system error number.
See the Guardian Procedure Errors and Messages Manual for more information about a specific
Guardian file-system error.
RELATED INFORMATION
Functions: creat(2), creat64(2), fcntl(2), lseek(2), lseek64(2), open(2), open64(2), pipe(2),
socket(2), spt_fcntlx(2), spt_write(2), ulimit(3), write(2).
STANDARDS CONFORMANCE
This function is an extension to the UNIX 98 specification. Interfaces documented on this refer-
ence page conform to IEEE Std 1003.1c-1995, POSIX System Application Program Interface,
with these exceptions:
• The use of the header file spthread.h is an HP exception to the POSIX standard.
• When a signal arrives during a call to the spt_writez() function, instead of returning an
EINTR error to the application, the spt_writez() retries the I/O operation, except in this
case: If the fork() function is called by a signal handler that is running on a thread per-
forming an spt_writez() call, the spt_writez() call in the child process returns an
EINTR error to the application.
7−492 Hewlett-Packard Company 527186-023