Sha256: 01191eeb86295975874019dc675cb0f8f0ca5f79dd78dc9d1c791a952adb3512
Contents?: true
Size: 462 Bytes
Versions: 4
Compression:
Stored size: 462 Bytes
Contents
#[cfg(feature = "fs")] #[cfg_attr(docsrs, doc(cfg(feature = "fs")))] use crate::{backend, io, path}; /// `chroot(path)`—Change the process root directory. /// /// # References /// - [Linux] /// /// [Linux]: https://man7.org/linux/man-pages/man2/chroot.2.html #[cfg(feature = "fs")] #[cfg_attr(docsrs, doc(cfg(feature = "fs")))] #[inline] pub fn chroot<P: path::Arg>(path: P) -> io::Result<()> { path.into_with_c_str(backend::process::syscalls::chroot) }
Version data entries
4 entries across 4 versions & 1 rubygems