1#[cfg(not(target_os = "wasi"))]
4mod chdir;
5#[cfg(not(any(target_os = "fuchsia", target_os = "wasi")))]
6mod chroot;
7mod exit;
8#[cfg(not(any(
9 target_os = "emscripten",
10 target_os = "espidf",
11 target_os = "fuchsia",
12 target_os = "horizon",
13 target_os = "redox",
14 target_os = "vita",
15 target_os = "wasi"
16)))]
17mod fcntl_getlk;
18#[cfg(not(target_os = "wasi"))] mod id;
20#[cfg(not(any(
21 target_os = "aix",
22 target_os = "horizon",
23 target_os = "espidf",
24 target_os = "vita"
25)))]
26mod ioctl;
27#[cfg(not(any(target_os = "espidf", target_os = "wasi")))]
28mod kill;
29#[cfg(target_os = "linux")]
30mod pidfd;
31#[cfg(target_os = "linux")]
32mod pidfd_getfd;
33#[cfg(target_os = "linux")]
34mod pivot_root;
35#[cfg(linux_kernel)]
36mod prctl;
37#[cfg(not(any(target_os = "fuchsia", target_os = "vita", target_os = "wasi")))]
38mod priority;
40#[cfg(freebsdlike)]
41mod procctl;
42#[cfg(not(any(
43 target_os = "espidf",
44 target_os = "fuchsia",
45 target_os = "horizon",
46 target_os = "redox",
47 target_os = "vita",
48 target_os = "wasi"
49)))]
50mod rlimit;
51#[cfg(not(any(
52 target_os = "emscripten",
53 target_os = "espidf",
54 target_os = "fuchsia",
55 target_os = "redox",
56 target_os = "vita",
57 target_os = "wasi"
58)))]
59mod types;
60#[cfg(not(target_os = "wasi"))] mod umask;
62#[cfg(not(any(target_os = "espidf", target_os = "vita", target_os = "wasi")))]
63mod wait;
64
65#[cfg(not(target_os = "wasi"))]
66pub use chdir::*;
67#[cfg(not(any(target_os = "fuchsia", target_os = "wasi")))]
68pub use chroot::*;
69pub use exit::*;
70#[cfg(not(any(
71 target_os = "emscripten",
72 target_os = "espidf",
73 target_os = "fuchsia",
74 target_os = "horizon",
75 target_os = "redox",
76 target_os = "vita",
77 target_os = "wasi"
78)))]
79pub use fcntl_getlk::*;
80#[cfg(not(target_os = "wasi"))]
81pub use id::*;
82#[cfg(not(any(
83 target_os = "aix",
84 target_os = "espidf",
85 target_os = "horizon",
86 target_os = "vita"
87)))]
88pub use ioctl::*;
89#[cfg(not(any(target_os = "espidf", target_os = "wasi")))]
90pub use kill::*;
91#[cfg(target_os = "linux")]
92pub use pidfd::*;
93#[cfg(target_os = "linux")]
94pub use pidfd_getfd::*;
95#[cfg(target_os = "linux")]
96pub use pivot_root::*;
97#[cfg(linux_kernel)]
98pub use prctl::*;
99#[cfg(not(any(target_os = "fuchsia", target_os = "vita", target_os = "wasi")))]
100pub use priority::*;
101#[cfg(freebsdlike)]
102pub use procctl::*;
103#[cfg(not(any(
104 target_os = "espidf",
105 target_os = "fuchsia",
106 target_os = "horizon",
107 target_os = "redox",
108 target_os = "vita",
109 target_os = "wasi"
110)))]
111pub use rlimit::*;
112#[cfg(not(any(
113 target_os = "emscripten",
114 target_os = "espidf",
115 target_os = "fuchsia",
116 target_os = "horizon",
117 target_os = "redox",
118 target_os = "vita",
119 target_os = "wasi"
120)))]
121pub use types::*;
122#[cfg(not(target_os = "wasi"))]
123pub use umask::*;
124#[cfg(not(any(target_os = "espidf", target_os = "vita", target_os = "wasi")))]
125pub use wait::*;