Skip to main content

chroot

Function chroot 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn chroot(path: *const c_char) -> c_int
๐Ÿ‘ŽDeprecated
Expand description

See https://pubs.opengroup.org/onlinepubs/7908799/xsh/chroot.html.

ยงDeprecation

The chroot() function was marked legacy in the System Interface & Headers Issue 5, and removed in Issue 6.