(new_root: P, put_old: Q)
| 12 | #[cfg_attr(docsrs, doc(cfg(feature = "fs")))] |
| 13 | #[inline] |
| 14 | pub fn pivot_root<P: path::Arg, Q: path::Arg>(new_root: P, put_old: Q) -> io::Result<()> { |
| 15 | new_root.into_with_c_str(|new_root| { |
| 16 | put_old.into_with_c_str(|put_old| backend::process::syscalls::pivot_root(new_root, put_old)) |
| 17 | }) |
| 18 | } |