devela::_dep::rustix::fs

Function fchown

pub fn fchown<Fd>(
    fd: Fd,
    owner: Option<Uid>,
    group: Option<Gid>,
) -> Result<(), Errno> 
where Fd: AsFd,
Available on crate feature dep_rustix only.
Expand description

fchown(fd, owner, group)—Sets open file or directory ownership.

§References