pub fn fchmod<Fd: AsFd>(fd: Fd, mode: Mode) -> Result<()>
Available on crate feature
fs
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.