[−][src]Function posish::fs::chmodat
pub fn chmodat<P: Arg, Fd: AsRawFd>(
dirfd: &Fd,
path: P,
mode: Mode
) -> Result<()>
fchmodat(dirfd, path, mode, 0)
The flags argument is fixed to 0, so AT_SYMLINK_NOFOLLOW
is not supported.
Platform support for this flag varies widely.
Note that this implementation does not support O_PATH
file descriptors,
even on platforms where the host libc emulates it.