1 #[cfg(any(target_os = "freebsd", target_os = "dragonfly", target_os = "ios",
2           target_os = "netbsd", target_os = "macos", target_os = "linux"))]
3 pub mod aio;
4 
5 #[cfg(any(target_os = "linux", target_os = "android"))]
6 pub mod epoll;
7 
8 #[cfg(any(target_os = "macos", target_os = "ios", target_os = "freebsd",
9     target_os = "dragonfly", target_os = "openbsd", target_os = "netbsd"))]
10 pub mod event;
11 
12 #[cfg(target_os = "linux")]
13 pub mod eventfd;
14 
15 #[cfg(target_os = "linux")]
16 pub mod memfd;
17 
18 #[macro_use]
19 pub mod ioctl;
20 
21 #[cfg(any(target_os = "linux", target_os = "android"))]
22 pub mod sendfile;
23 
24 pub mod signal;
25 
26 // FIXME: Add to Android once libc#671 lands in a release
27 #[cfg(target_os = "linux")]
28 pub mod signalfd;
29 
30 pub mod socket;
31 
32 pub mod stat;
33 
34 #[cfg(any(target_os = "linux", target_os = "android"))]
35 pub mod syscall;
36 
37 #[cfg(any(target_os = "linux"))]
38 pub mod reboot;
39 
40 pub mod termios;
41 
42 #[cfg(any(target_os = "linux", target_os = "android"))]
43 pub mod utsname;
44 
45 pub mod wait;
46 
47 pub mod mman;
48 
49 pub mod uio;
50 
51 pub mod time;
52 
53 #[cfg(any(target_os = "linux", target_os = "android"))]
54 pub mod ptrace;
55 
56 pub mod select;
57 
58 #[cfg(all(target_os = "linux",
59           any(target_arch = "x86",
60               target_arch = "x86_64",
61               target_arch = "arm")),
62           )]
63 pub mod quota;
64 
65 
66 #[cfg(all(target_os = "linux",
67           any(target_arch = "x86",
68               target_arch = "x86_64",
69               target_arch = "arm")),
70           )]
71 pub mod statfs;
72 
73 
74 #[cfg(all(any(target_os = "linux",
75               target_os = "macos"),
76           any(target_arch = "x86",
77               target_arch = "x86_64",
78               target_arch = "arm")),
79           )]
80 pub mod statvfs;
81 pub mod pthread;
82