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