Struct arceos_posix_api::ctypes::kstat
source · #[repr(C)]pub struct kstat {Show 18 fields
pub st_dev: dev_t,
pub st_ino: ino_t,
pub st_nlink: nlink_t,
pub st_mode: mode_t,
pub st_uid: uid_t,
pub st_gid: gid_t,
pub __pad0: c_uint,
pub st_rdev: dev_t,
pub st_size: off_t,
pub st_blksize: blksize_t,
pub st_blocks: blkcnt_t,
pub st_atime_sec: c_long,
pub st_atime_nsec: c_long,
pub st_mtime_sec: c_long,
pub st_mtime_nsec: c_long,
pub st_ctime_sec: c_long,
pub st_ctime_nsec: c_long,
pub __unused: [c_long; 3],
}
Fields§
§st_dev: dev_t
§st_ino: ino_t
§st_nlink: nlink_t
§st_mode: mode_t
§st_uid: uid_t
§st_gid: gid_t
§__pad0: c_uint
§st_rdev: dev_t
§st_size: off_t
§st_blksize: blksize_t
§st_blocks: blkcnt_t
§st_atime_sec: c_long
§st_atime_nsec: c_long
§st_mtime_sec: c_long
§st_mtime_nsec: c_long
§st_ctime_sec: c_long
§st_ctime_nsec: c_long
§__unused: [c_long; 3]
Trait Implementations§
impl Copy for kstat
Auto Trait Implementations§
impl RefUnwindSafe for kstat
impl Send for kstat
impl Sync for kstat
impl Unpin for kstat
impl UnwindSafe for kstat
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more