Function rustix::fs::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