[][src]Function coreutils_core::os::process::change_root

pub fn change_root(newroot: &str) -> Result<()>

Change the root of the running process to newroot.

Errors

If a internal call set a errno (I/O OS error), an error variant will be returned.