Function nix::unistd::fchownat [] [src]

pub fn fchownat<P: ?Sized + NixPath>(
    dirfd: RawFd,
    pathname: &P,
    owner: Option<Uid>,
    group: Option<Gid>,
    flags: AtFlags
) -> Result<()>

Change ownership of a file (see fchownat(2)).