pub fn fchdir(dirfd: RawFd) -> Result<()>
Expand description
Change the current working directory of the process to the one given as an open file descriptor (see fchdir(2)).
This function may fail in a number of different scenarios. See the man pages for additional details on possible failure cases.