devela::_dep::rustix::fs

Function fchmod

pub fn fchmod<Fd>(fd: Fd, mode: Mode) -> Result<(), Errno> 
where Fd: AsFd,
Available on crate feature dep_rustix only.
Expand description

fchmod(fd, mode)—Sets open file or directory permissions.

This implementation does not support OFlags::PATH file descriptors, even on platforms where the host libc emulates it.

§References