thin wrapper around fcntl(F_SETLK)