Function nix::fcntl::flock

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