1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
#[repr(C)] #[derive(Debug, Copy, Clone, PartialEq, Eq, PartialOrd, Ord)] pub struct mntent { pub mnt_fsname: *mut c_char, pub mnt_dir: *mut c_char, pub mnt_type: *mut c_char, pub mnt_opts: *mut c_char, pub mnt_freq: c_int, pub mnt_passno: c_int, } impl Default for mntent { fn default() -> Self { unsafe { ::std::mem::zeroed() } } }