rustix/time/
mod.rs

1//! Time-related operations.
2
3mod clock;
4#[cfg(any(
5    linux_kernel,
6    target_os = "freebsd",
7    target_os = "fuchsia",
8    target_os = "illumos",
9    target_os = "netbsd"
10))]
11mod timerfd;
12
13// TODO: Convert WASI'S clock APIs to use handles rather than ambient clock
14// identifiers, update `wasi-libc`, and then add support in `rustix`.
15pub use clock::*;
16#[cfg(any(
17    linux_kernel,
18    target_os = "freebsd",
19    target_os = "fuchsia",
20    target_os = "illumos",
21    target_os = "netbsd"
22))]
23pub use timerfd::*;