Function flock

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