rustix::fs

Function flock

Source
pub fn flock<Fd: AsFd>(fd: Fd, operation: FlockOperation) -> Result<()>
Expand description

flock(fd, operation)—Acquire or release an advisory lock on an open file.

§References