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