blob: eb192dc22002a03fcedaea209952cc0a9145cb30 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
#![cfg(target_os = "linux")]
use libc::c_int;
pub use self::arch::*;
#[cfg(target_arch = "x86_64")]
mod arch {
use libc::c_long;
pub type Syscall = c_long;
pub static SysPivotRoot: Syscall = 155;
}
extern {
pub fn syscall(num: Syscall, ...) -> c_int;
}
|