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 #[cfg(target_os = "linux")] 42 pub mod personality; 43 44 pub mod pthread; 45 46 #[cfg(any(target_os = "android", 47 target_os = "dragonfly", 48 target_os = "freebsd", 49 target_os = "linux", 50 target_os = "macos", 51 target_os = "netbsd", 52 target_os = "openbsd"))] 53 pub mod ptrace; 54 55 #[cfg(target_os = "linux")] 56 pub mod quota; 57 58 #[cfg(any(target_os = "linux"))] 59 pub mod reboot; 60 61 #[cfg(not(target_os = "redox"))] 62 pub mod select; 63 64 #[cfg(any(target_os = "android", 65 target_os = "freebsd", 66 target_os = "ios", 67 target_os = "linux", 68 target_os = "macos"))] 69 pub mod sendfile; 70 71 pub mod signal; 72 73 #[cfg(any(target_os = "android", target_os = "linux"))] 74 pub mod signalfd; 75 76 #[cfg(not(target_os = "redox"))] 77 pub mod socket; 78 79 pub mod stat; 80 81 #[cfg(any(target_os = "android", 82 target_os = "dragonfly", 83 target_os = "freebsd", 84 target_os = "ios", 85 target_os = "linux", 86 target_os = "macos", 87 target_os = "openbsd" 88 ))] 89 pub mod statfs; 90 91 pub mod statvfs; 92 93 #[cfg(any(target_os = "android", target_os = "linux"))] 94 pub mod sysinfo; 95 96 pub mod termios; 97 98 pub mod time; 99 100 pub mod uio; 101 102 pub mod utsname; 103 104 pub mod wait; 105 106 #[cfg(any(target_os = "android", target_os = "linux"))] 107 pub mod inotify; 108 109 #[cfg(any(target_os = "android", target_os = "linux"))] 110 pub mod timerfd; 111