Open System Services System Calls Reference Manual (G06.29+, H06.08+, J06.03+)

fcntl(2) OSS System Calls Reference Manual
[EOVERFLOW]
The command argument is F_GETLK, F_SETLK,orFSETLKW, and the
smallest offset (if l_len parameter is zero), or the highest offset (if the l_len
parameter is nonzero), of any byte in the requested segment cannot be
represented correctly in an object of type off_t.
[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 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 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: creat(2), creat64(2), close(2), dup(2), dup2(2), exec(2), open(2), open64(2),
read(2), socket(2), spt_fcntlz(2), tdm_execve(2), tdm_execvep(2), write(2).
STANDARDS CONFORMANCE
The fcntl() function does not return the errno value [EDEADLK].
The fcntl() function does not support the O_ASYNC flag.
The POSIX standards leave some features to the implementing vendor to define. These features
are affected in the HP implementation:
Advisory record locking is supported only for regular files. If attempted on other files,
the operation fails, and errno is set to [EINVAL].
For record-locking operations, the l_len value can be negative (where the definition of
off_t permits negative values of l_len). If l_len is negative, the area affected by the lock
starts at l_start + l_len and ends at l_start - 1.
HP extensions to the XPG4 Version 2 specification are:
The errno values [ECONNRESET], [EFAULT], [EIO], [EISGUARDIAN], [ENET-
DOWN], [ENOTOSS], and [EWRONGID] can be returned.
The use of this function with the POSIX User Thread Model library conforms to the following
industry standards:
IEEE Std 1003.1-2004, POSIX System Application Program Interface
318 Hewlett-Packard Company 527186-023