Skip to main content

relibc/header/bits_mode-t/
mod.rs

1#[cfg(target_os = "linux")]
2use crate::platform::types::c_uint;
3
4#[cfg(not(target_os = "linux"))]
5use crate::platform::types::c_int;
6
7/// Used for some file attributes.
8#[allow(non_camel_case_types)]
9#[cfg(target_os = "linux")]
10pub type mode_t = c_uint;
11/// Used for some file attributes.
12#[allow(non_camel_case_types)]
13#[cfg(not(target_os = "linux"))]
14pub type mode_t = c_int;