Open System Services System Calls Reference Manual (G06.25+, H06.03+)

fcntl(2) OSS System Calls Reference Manual
RELATED INFORMATION
Functions: creat(2), close(2), dup(2), dup2(2), exec(2), open(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.
38 Hewlett-Packard Company 527186-003