#[repr(C)]pub struct statvfs {
pub f_bsize: c_ulong,
pub f_frsize: c_ulong,
pub f_blocks: fsblkcnt_t,
pub f_bfree: fsblkcnt_t,
pub f_bavail: fsblkcnt_t,
pub f_files: fsfilcnt_t,
pub f_ffree: fsfilcnt_t,
pub f_favail: fsfilcnt_t,
pub f_fsid: c_ulong,
pub f_flag: c_ulong,
pub f_namemax: c_ulong,
}
Expand description
@brief File system information
Fields§
§f_bsize: c_ulong
< File system block size.
f_frsize: c_ulong
< Fundamental file system block size.
f_blocks: fsblkcnt_t
< Total number of blocks on file system in units of @c f_frsize.
f_bfree: fsblkcnt_t
< Total number of free blocks.
f_bavail: fsblkcnt_t
< Number of free blocks available to non-privileged process.
f_files: fsfilcnt_t
< Total number of file serial numbers.
f_ffree: fsfilcnt_t
< Total number of free file serial numbers.
f_favail: fsfilcnt_t
< Number of file serial numbers available to non-privileged process.
f_fsid: c_ulong
< File system ID.
f_flag: c_ulong
< Bit mask of f_flag values.
f_namemax: c_ulong
< Maximum filename length.
Trait Implementations§
impl Copy for statvfs
Auto Trait Implementations§
impl Freeze for statvfs
impl RefUnwindSafe for statvfs
impl Send for statvfs
impl Sync for statvfs
impl Unpin for statvfs
impl UnwindSafe for statvfs
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,
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 56 bytes