Type Alias riot_sys::bindgen::vfs_mount_t

source ·
pub type vfs_mount_t = vfs_mount_struct;
Expand description

@brief A mounted file system

Aliased Type§

struct vfs_mount_t {
    pub list_entry: list_node,
    pub fs: *const vfs_file_system_t,
    pub mount_point: *const u8,
    pub mount_point_len: u32,
    pub open_files: u16,
    pub private_data: *mut c_void,
}

Fields§

§list_entry: list_node

< List entry for the _vfs_mount_list list

§fs: *const vfs_file_system_t

< The file system driver for the mount point

§mount_point: *const u8

< Mount point, e.g. “/mnt/cdrom”

§mount_point_len: u32

< Length of mount_point string (set by vfs_mount)

§open_files: u16

< Number of currently open files and directories

§private_data: *mut c_void

< File system driver private data, implementation defined

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: 24 bytes