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

fcntl(2) OSS System Calls Reference Manual
[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 specied le failed during an
input or output operation, and the backup process took over.
The open le descriptor has migrated to a new processor, but the new
processor lacks a resource or system process for using the le descriptor.
The le descriptor specied by the ledes parameter can only be closed.
For all other error conditions, errno is set to the appropriate Guardian le-system error number.
For more information about a specic Guardian le-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), 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 ag.
The POSIX standards leave some features to the implementing vendor to dene. These features
are affected in the HP implementation:
Advisory record locking is supported only for regular les. If attempted on other les,
the operation fails, and errno is set to [EINVAL].
For record-locking operations, the l_len value can be negative (where the denition 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 specication are:
The errno values [ECONNRESET], [EFAULT], [EIO], [EISGUARDIAN], [ENET-
DOWN], [ENOTOSS], and [EWRONGID] can be returned.
316 Hewlett-Packard Company 527186-007