Zig 0.17.0-dev (Split by item)

Shortcut keys
?
Show these tips
S
Focus search field
Esc
Clear focus & close tips
U
Jump to source code
↑
Move up in search results
↓
Move down in search results
↵
Go to active search result
This is an example of documentation generated by ZigDoc, an alternative to Zig's built-in Auto Doc feature. See also examples in other modes/formats. The project being documented here (as the example) is the Zig standard library. Public Struct

STATX

Public Struct
std.os.linux.STATX
pub const STATX = packed struct(u32)

Fields

TYPE: bool = false

Want mode & S.IFMT.

MODE: bool = false

Want mode & ~S.IFMT.

NLINK: bool = false

Want the nlink member.

UID: bool = false

Want the uid member.

GID: bool = false

Want the gid member.

ATIME: bool = false

Want the atime member.

MTIME: bool = false

Want the mtime member.

CTIME: bool = false

Want the ctime member.

INO: bool = false

Want the ino member.

SIZE: bool = false

Want the size member.

BLOCKS: bool = false

Want the blocks member.

BTIME: bool = false

Want the btime member.

MNT_ID: bool = false

Want the mnt_id member.

DIOALIGN: bool = false

Want the dio_mem_align and dio_offset_align members.

MNT_ID_UNIQUE: bool = false

Want the stx_mnt_id member.

SUBVOL: bool = false

Want the sub member.

WRITE_ATOMIC: bool = false

Want the atomic_write_unit_min, atomic_write_unit_max and atomic_write_segments_max members.

DIO_READ_ALIGN: bool = false

Want the dio_read_offset_align member.

__pad: u13 = 0
__RESERVED: bool = false

Reserved for future expansion; must not be set.

Values

File

os/linux.zig:7888
7888
7889
7890
7891
7892
7893
7894
7895
7896
7897
7898
7899
7900
7901
7902
7903
7904
7905
7906
7907
7908
7909
7910
7911
7912
7913
7914
7915
7916
7917
7918
7919
7920
7921
7922
7923
7924
7925
7926
7927
7928
7929
7930
7931
pub const STATX = packed struct(u32) {
    /// Want `mode & S.IFMT`.
    TYPE: bool = false,
    /// Want `mode & ~S.IFMT`.
    MODE: bool = false,
    /// Want the `nlink` member.
    NLINK: bool = false,
    /// Want the `uid` member.
    UID: bool = false,
    /// Want the `gid` member.
    GID: bool = false,
    /// Want the `atime` member.
    ATIME: bool = false,
    /// Want the `mtime` member.
    MTIME: bool = false,
    /// Want the `ctime` member.
    CTIME: bool = false,
    /// Want the `ino` member.
    INO: bool = false,
    /// Want the `size` member.
    SIZE: bool = false,
    /// Want the `blocks` member.
    BLOCKS: bool = false,
    /// Want the `btime` member.
    BTIME: bool = false,
    /// Want the `mnt_id` member.
    MNT_ID: bool = false,
    /// Want the `dio_mem_align` and `dio_offset_align` members.
    DIOALIGN: bool = false,
    /// Want the `stx_mnt_id` member.
    MNT_ID_UNIQUE: bool = false,
    /// Want the `sub` member.
    SUBVOL: bool = false,
    /// Want the `atomic_write_unit_min`, `atomic_write_unit_max` and
    /// `atomic_write_segments_max` members.
    WRITE_ATOMIC: bool = false,
    /// Want the `dio_read_offset_align` member.
    DIO_READ_ALIGN: bool = false,
    __pad: u13 = 0,
    /// Reserved for future expansion; must not be set.
    __RESERVED: bool = false,

    pub const BASIC_STATS: STATX = @bitCast(@as(u32, 0x7ff));
}