| 1 |
use crate::off_t; |
| 2 |
use crate::prelude::*; |
| 3 |
|
| 4 |
s! { |
| 5 |
pub struct stat { |
| 6 |
pub st_dev: crate::dev_t, |
| 7 |
pub st_ino: crate::ino_t, |
| 8 |
pub st_mode: crate::mode_t, |
| 9 |
pub st_nlink: crate::nlink_t, |
| 10 |
pub st_uid: crate::uid_t, |
| 11 |
pub st_gid: crate::gid_t, |
| 12 |
pub st_rdev: crate::dev_t, |
| 13 |
pub st_atime: crate::time_t, |
| 14 |
pub st_atime_nsec: c_long, |
| 15 |
pub st_mtime: crate::time_t, |
| 16 |
pub st_mtime_nsec: c_long, |
| 17 |
pub st_ctime: crate::time_t, |
| 18 |
pub st_ctime_nsec: c_long, |
| 19 |
pub st_size: off_t, |
| 20 |
pub st_blocks: crate::blkcnt_t, |
| 21 |
pub st_blksize: crate::blksize_t, |
| 22 |
pub st_flags: crate::fflags_t, |
| 23 |
pub st_gen: u32, |
| 24 |
pub st_lspare: i32, |
| 25 |
pub st_birthtime: crate::time_t, |
| 26 |
pub st_birthtime_nsec: c_long, |
| 27 |
__unused: Padding<[u8; 8]>, |
| 28 |
} |
| 29 |
} |