pub fn fchdir<Fd: AsFd>(fd: Fd) -> io::Result<()>
#[cfg(not(target_os = "fuchsia"))]
fchdir(fd)—Change the working directory.
fchdir(fd)