| errno.rs |
The `rustix` `Errno` type.
This type holds an OS error code, which conceptually corresponds to an
`errno` value. |
30663 |
- |
| mod.rs |
|
142 |
- |
| syscalls.rs |
libc syscalls supporting `rustix::io`. |
9098 |
- |
| types.rs |
/bitflags/#externally-defined-flags>
const _ = !0;
}
}
#[cfg(all(linux_kernel, not(target_os = "android")))]
bitflags! {
/// `RWF_*` constants for use with [`preadv2`] and [`pwritev2`].
///
/// [`preadv2`]: crate::io::preadv2
/// [`pwritev2`]: crate::io::pwritev
#[repr(transparent)]
#[derive(Copy, Clone, Eq, PartialEq, Hash, Debug)]
pub struct ReadWriteFlags: u32 {
/// `RWF_DSYNC` (since Linux 4.7)
const DSYNC = libc::RWF_DSYNC as u32;
/// `RWF_HIPRI` (since Linux 4.6)
const HIPRI = libc::RWF_HIPRI as u32;
/// `RWF_SYNC` (since Linux 4.7)
const SYNC = libc::RWF_SYNC as u32;
/// `RWF_NOWAIT` (since Linux 4.14)
const NOWAIT = libc::RWF_NOWAIT as u32;
/// `RWF_APPEND` (since Linux 4.16)
const APPEND = libc::RWF_APPEND as u32;
/// <https://docs.rs/bitflags/ |
2058 |
- |
| windows_syscalls.rs |
Windows system calls in the `io` module. |
1529 |
- |