]>
git.proxmox.com Git - cargo.git/blob - vendor/redox_syscall/src/lib.rs
1 #![cfg_attr(nightly, feature(asm))]
2 #![cfg_attr(nightly, feature(llvm_asm))]
3 #![cfg_attr(nightly, feature(const_fn))]
4 #![cfg_attr(not(test), no_std)]
10 pub use self::call
::*;
11 pub use self::data
::*;
12 pub use self::error
::*;
13 pub use self::flag
::*;
14 #[cfg(target_os = "redox")]
16 pub use self::number
::*;
17 pub use self::scheme
::*;
19 #[cfg(all(any(target_os = "none", target_os = "redox"), target_arch = "arm"))]
23 #[cfg(all(any(target_os = "none", target_os = "redox"), target_arch = "aarch64"))]
24 #[path="arch/aarch64.rs"]
27 #[cfg(all(any(target_os = "none", target_os = "redox"), target_arch = "riscv64"))]
28 #[path="arch/riscv64.rs"]
31 #[cfg(all(any(target_os = "none", target_os = "redox"), target_arch = "x86"))]
35 #[cfg(all(any(target_os = "none", target_os = "redox"), target_arch = "x86_64"))]
36 #[path="arch/x86_64.rs"]
39 #[cfg(not(any(target_os = "none", target_os = "redox")))]
40 #[path="arch/nonredox.rs"]
43 /// Function definitions
46 /// Complex structures that are used for some system calls
49 /// All errors that can be generated by a system call
52 /// Flags used as an argument to many system calls
55 /// Functions for low level hardware control
56 #[cfg(target_os = "redox")]
59 /// Call numbers used by each system call
62 /// A trait useful for scheme handlers