HP-UX Reference (11i v2 04/09) - 2 System Calls (vol 5)

f
fcntl(2) fcntl(2)
[EFAULT] cmd is either
F_GETLK, F_SETLK,orF_SETLKW, and arg points to an illegal
address.
[ENOTSOCK] cmd is
F_GETOWN or F_SETOWN, and fildes does not refer to a socket.
AUTHOR
fcntl() was developed by HP, AT&T and the University of California, Berkeley.
SEE ALSO
lockd(1M), statd(1M), chmod(2), close(2), creat64(2), exec(2), lockf(2), open(2), read(2), write(2), fcntl(5).
STANDARDS CONFORMANCE
fcntl(): AES, SVID2, SVID3, XPG2, XPG3, XPG4, FIPS 151-2, POSIX.1
HP-UX 11i Version 2: September 2004 4 Hewlett-Packard Company Section 271