1//! I/O operations.
2//!
3//! If you're looking for [`SeekFrom`], that's in the [`fs`] module.
4//!
5//! [`SeekFrom`]: https://docs.rs/rustix/*/rustix/fs/enum.SeekFrom.html
6//! [`fs`]: https://docs.rs/rustix/*/rustix/fs/index.html
7
8mod close;
9#[cfg(not(windows))]
10mod dup;
11mod errno;
12#[cfg(not(windows))]
13mod fcntl;
14mod ioctl;
15#[cfg(not(any(windows, target_os = "redox")))]
16#[cfg(all(feature = "fs", feature = "net"))]
17mod is_read_write;
18#[cfg(not(windows))]
19mod read_write;
20
21pub use close::close;
22#[cfg(not(windows))]
23pub use dup::*;
24pub use errno::{retry_on_intr, Errno, Result};
25#[cfg(not(windows))]
26pub use fcntl::*;
27pub use ioctl::*;
28#[cfg(not(any(windows, target_os = "redox")))]
29#[cfg(all(feature = "fs", feature = "net"))]
30pub use is_read_write::*;
31#[cfg(not(windows))]
32pub use read_write::*;
33