pub fn flock(fd: RawFd, arg: FlockArg) -> Result<()>
fcntl::Flock should be used instead.
fcntl::Flock