POSIX#fcntl

NOTE: This API is not compatible with F_SETLK, F_SETLKW or F_GETLK. These fcntl commands will require an API that accepts a flock struct.

http://linux.die.net/man/2/fcntl