pub fn chroot(filename: &str) -> Result<(), Errno>
Change the root directory.
let ret = nc::chroot("/"); assert!(ret.is_err()); assert_eq!(ret, Err(nc::EPERM));