]>
git.proxmox.com Git - rustc.git/blob - src/vendor/nix/src/sys/syscall.rs
1 //! Indirect system call
7 #[cfg(target_arch = "x86_64")]
11 pub type Syscall
= c_long
;
13 pub static SYSPIVOTROOT
: Syscall
= 155;
14 pub static MEMFD_CREATE
: Syscall
= 319;
17 #[cfg(target_arch = "x86")]
21 pub type Syscall
= c_long
;
23 pub static SYSPIVOTROOT
: Syscall
= 217;
24 pub static MEMFD_CREATE
: Syscall
= 356;
27 #[cfg(target_arch = "aarch64")]
31 pub type Syscall
= c_long
;
33 pub static SYSPIVOTROOT
: Syscall
= 41;
34 pub static MEMFD_CREATE
: Syscall
= 279;
37 #[cfg(target_arch = "arm")]
41 pub type Syscall
= c_long
;
43 pub static SYSPIVOTROOT
: Syscall
= 218;
44 pub static MEMFD_CREATE
: Syscall
= 385;
47 #[cfg(target_arch = "mips")]
51 pub type Syscall
= c_long
;
53 pub static SYSPIVOTROOT
: Syscall
= 216;
54 pub static MEMFD_CREATE
: Syscall
= 354;
58 pub fn syscall(num
: Syscall
, ...) -> c_int
;