#![allow(non_camel_case_types)]
use crate::c_int;
#[doc = crate::_tags!(linux fs)]
#[doc = crate::_doc_location!("sys/os/linux")]
#[derive(Debug)]
pub struct LINUX_FILENO;
impl LINUX_FILENO {
pub const STDIN: c_int = 0;
pub const STDOUT: c_int = 1;
pub const STDERR: c_int = 2;
}
#[doc = crate::_tags!(linux fs)]
#[doc = crate::_doc_location!("sys/os/linux")]
#[derive(Debug)]
pub struct LINUX_O_FLAGS;
impl LINUX_O_FLAGS {
pub const RDONLY: c_int = 0o0;
pub const WRONLY: c_int = 0o1;
pub const RDWR: c_int = 0o2;
pub const ACCMODE: c_int = 0o3;
pub const CREAT: c_int = 0o100;
pub const EXCL: c_int = 0o200;
pub const NOCTTY: c_int = 0o400;
pub const TRUNC: c_int = 0o1_000;
pub const APPEND: c_int = 0o2_000;
pub const NONBLOCK: c_int = 0o4_000;
pub const SYNC: c_int = 0o4_010_000;
pub const DSYNC: c_int = 0o10_000;
pub const DIRECT: c_int = 0o40_000;
pub const LARGEFILE: c_int = 0o100_000;
pub const NOFOLLOW: c_int = 0o200_000;
pub const DIRECTORY: c_int = 0o400_000;
pub const NOATIME: c_int = 0o1_000_000;
pub const CLOEXEC: c_int = 0o2_000_000;
pub const PATH: c_int = 0o10_000_000;
pub const TMPFILE: c_int = 0o20_000_000 | Self::DIRECTORY;
pub const ASYNC: c_int = 0o20_000;
pub const RESOLVE_BENEATH: c_int = 0o100_000_000;
pub const RESOLVE_NO_XDEV: c_int = 0o200_000_000;
pub const RESOLVE_NO_MAGICLINKS: c_int = 0o400_000_000;
pub const RESOLVE_NO_SYMLINKS: c_int = 0o1_000_000_000;
pub const RESOLVE_IN_ROOT: c_int = 0o2_000_000_000;
}
#[doc = crate::_tags!(linux fs)]
#[doc = crate::_doc_location!("sys/os/linux")]
#[derive(Debug)]
pub struct LINUX_SEEK;
impl LINUX_SEEK {
pub const SET: c_int = 0;
pub const CUR: c_int = 1;
pub const END: c_int = 2;
pub const DATA: c_int = 3;
pub const HOLE: c_int = 4;
pub const MAX: c_int = Self::HOLE;
}