Function nix::unistd::chdir [−][src]
pub fn chdir<P: ?Sized + NixPath>(path: &P) -> Result<()>
Expand description
Change the current working directory of the calling process (see chdir(2)).
This function may fail in a number of different scenarios. See the man pages for additional details on possible failure cases.