[][src]Function simple_libc::process::chdir

pub fn chdir<P: AsRef<Path>>(path: P) -> Result<()>

Change the current working directory to the specified path.

This is a thin wrapper around std::env::set_current_dir(), and only present for consistency.