nix::fcntl

Function flock

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