1 #[cfg(any(target_os = "dragonfly", 2 target_os = "freebsd", 3 target_os = "ios", 4 target_os = "linux", 5 target_os = "macos", 6 target_os = "netbsd"))] 7 pub mod aio; 8 9 #[cfg(any(target_os = "android", target_os = "linux"))] 10 pub mod epoll; 11 12 #[cfg(any(target_os = "dragonfly", 13 target_os = "freebsd", 14 target_os = "ios", 15 target_os = "macos", 16 target_os = "netbsd", 17 target_os = "openbsd"))] 18 pub mod event; 19 20 #[cfg(target_os = "linux")] 21 pub mod eventfd; 22 23 #[cfg(any(target_os = "android", 24 target_os = "dragonfly", 25 target_os = "freebsd", 26 target_os = "ios", 27 target_os = "linux", 28 target_os = "redox", 29 target_os = "macos", 30 target_os = "netbsd", 31 target_os = "openbsd"))] 32 #[macro_use] 33 pub mod ioctl; 34 35 #[cfg(target_os = "linux")] 36 pub mod memfd; 37 38 #[cfg(not(target_os = "redox"))] 39 pub mod mman; 40 41 pub mod pthread; 42 43 #[cfg(any(target_os = "android", 44 target_os = "dragonfly", 45 target_os = "freebsd", 46 target_os = "linux", 47 target_os = "macos", 48 target_os = "netbsd", 49 target_os = "openbsd"))] 50 pub mod ptrace; 51 52 #[cfg(target_os = "linux")] 53 pub mod quota; 54 55 #[cfg(any(target_os = "linux"))] 56 pub mod reboot; 57 58 #[cfg(not(target_os = "redox"))] 59 pub mod select; 60 61 #[cfg(any(target_os = "android", 62 target_os = "freebsd", 63 target_os = "ios", 64 target_os = "linux", 65 target_os = "macos"))] 66 pub mod sendfile; 67 68 pub mod signal; 69 70 #[cfg(any(target_os = "android", target_os = "linux"))] 71 pub mod signalfd; 72 73 #[cfg(not(target_os = "redox"))] 74 pub mod socket; 75 76 pub mod stat; 77 78 #[cfg(any(target_os = "android", 79 target_os = "dragonfly", 80 target_os = "freebsd", 81 target_os = "ios", 82 target_os = "linux", 83 target_os = "macos", 84 target_os = "openbsd" 85 ))] 86 pub mod statfs; 87 88 pub mod statvfs; 89 90 #[cfg(any(target_os = "android", target_os = "linux"))] 91 pub mod sysinfo; 92 93 pub mod termios; 94 95 pub mod time; 96 97 pub mod uio; 98 99 pub mod utsname; 100 101 pub mod wait; 102 103 #[cfg(any(target_os = "android", target_os = "linux"))] 104 pub mod inotify; 105 106 #[cfg(target_os = "linux")] 107 pub mod timerfd; 108