nix/sys/
mod.rs

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