rustix::fs

Function fchown

source
pub fn fchown<Fd: AsFd>(
    fd: Fd,
    owner: Option<Uid>,
    group: Option<Gid>,
) -> Result<()>
Expand description

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

§References