Struct simics_api_sys::bindings::stat
source · #[repr(C)]pub struct stat {Show 15 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_int,
pub st_rdev: __dev_t,
pub st_size: __off_t,
pub st_blksize: __blksize_t,
pub st_blocks: __blkcnt_t,
pub st_atim: timespec,
pub st_mtim: timespec,
pub st_ctim: timespec,
pub __glibc_reserved: [__syscall_slong_t; 3],
}
Fields§
§st_dev: __dev_t
Device.
st_ino: __ino_t
File serial number.
st_nlink: __nlink_t
Link count.
st_mode: __mode_t
File mode.
st_uid: __uid_t
User ID of the file’s owner.
st_gid: __gid_t
Group ID of the file’s group.
__pad0: c_int
§st_rdev: __dev_t
Device number, if device.
st_size: __off_t
Size of file, in bytes.
st_blksize: __blksize_t
Optimal block size for I/O.
st_blocks: __blkcnt_t
Number 512-byte blocks allocated.
st_atim: timespec
Time of last access.
st_mtim: timespec
Time of last modification.
st_ctim: timespec
Time of last status change.
__glibc_reserved: [__syscall_slong_t; 3]
Trait Implementations§
source§impl Ord for stat
impl Ord for stat
source§impl PartialOrd for stat
impl PartialOrd for stat
impl Copy for stat
impl Eq for stat
impl StructuralPartialEq for stat
Auto Trait Implementations§
impl Freeze for stat
impl RefUnwindSafe for stat
impl Send for stat
impl Sync for stat
impl Unpin for stat
impl UnwindSafe for stat
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)