Function nix::fcntl::flock

source ยท
pub fn flock(fd: RawFd, arg: FlockArg) -> Result<()>
๐Ÿ‘ŽDeprecated since 0.28.0: fcntl::Flock should be used instead.