nc 0.9.7

Access system calls directly
Documentation
1
2
3
4
5
/// Change the root directory.
pub unsafe fn fchroot(fd: i32) -> Result<(), Errno> {
    let fd = fd as usize;
    syscall1(SYS_FCHROOT, fd).map(drop)
}