Open System Services System Calls Reference Manual (G06.29+, H06.08+, J06.03+)
System Functions (s and S) spt_lseekz(2)
[ESPIPE] The filedes parameter refers to a pipe, FIFO, or socket.
[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 the backup process took over.
• 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.
For more information about a specific Guardian file-system error, see the Guardian Procedure
Errors and Messages Manual.
RELATED INFORMATION
Functions: fcntl(2), fseek(3), spt_lseekz64(2), open(2), open64(2), read(2), 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 this exception:
• The use of the header file spthread.h is an HP exception to the POSIX standard.
The POSIX standards leave some features to the implementing vendor to define. These features
are affected in the HP implementation:
• If the spt_lseekz() function is called for a pipe or FIFO, the errno value [ESPIPE] is
returned.
• If the spt_lseekz() function is called for a character special file, no errno value is
returned.
• If the spt_lseekz() function is called for any other device on which seeking cannot be
performed, the operation fails, and errno is set to [EINVAL].
HP extensions to the XPG4 Version 2 specification are:
• The errno values [EINVAL], [EISDIR], [EISGUARDIAN], and [EWRONGID] can be
returned.
527186-023 Hewlett-Packard Company 7−295