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

MarkMask

Public Struct
std.os.linux.fanotify.MarkMask
pub const MarkMask = packed struct(u64)

Fields

ACCESS: bool = false

File was accessed

MODIFY: bool = false

File was modified

ATTRIB: bool = false

Metadata changed

CLOSE_WRITE: bool = false

Writtable file closed

CLOSE_NOWRITE: bool = false

Unwrittable file closed

OPEN: bool = false

File was opened

MOVED_FROM: bool = false

File was moved from X

MOVED_TO: bool = false

File was moved to Y

CREATE: bool = false

Subfile was created

DELETE: bool = false

Subfile was deleted

DELETE_SELF: bool = false

Self was deleted

MOVE_SELF: bool = false

Self was moved

OPEN_EXEC: bool = false

File was opened for exec

reserved13: u1 = 0
Q_OVERFLOW: bool = false

Event queued overflowed

FS_ERROR: bool = false

Filesystem error

OPEN_PERM: bool = false

File open in perm check

ACCESS_PERM: bool = false

File accessed in perm check

OPEN_EXEC_PERM: bool = false

File open/exec in perm check

reserved19: u8 = 0
EVENT_ON_CHILD: bool = false

Interested in child events

RENAME: bool = false

File was renamed

reserved30: u1 = 0
ONDIR: bool = false

Event occurred against dir

reserved31: u33 = 0

File

os/linux.zig:6481
6481
6482
6483
6484
6485
6486
6487
6488
6489
6490
6491
6492
6493
6494
6495
6496
6497
6498
6499
6500
6501
6502
6503
6504
6505
6506
6507
6508
6509
6510
6511
6512
6513
6514
6515
6516
6517
6518
6519
6520
6521
6522
6523
6524
6525
6526
6527
6528
6529
6530
    pub const MarkMask = packed struct(u64) {
        /// File was accessed
        ACCESS: bool = false,
        /// File was modified
        MODIFY: bool = false,
        /// Metadata changed
        ATTRIB: bool = false,
        /// Writtable file closed
        CLOSE_WRITE: bool = false,
        /// Unwrittable file closed
        CLOSE_NOWRITE: bool = false,
        /// File was opened
        OPEN: bool = false,
        /// File was moved from X
        MOVED_FROM: bool = false,
        /// File was moved to Y
        MOVED_TO: bool = false,

        /// Subfile was created
        CREATE: bool = false,
        /// Subfile was deleted
        DELETE: bool = false,
        /// Self was deleted
        DELETE_SELF: bool = false,
        /// Self was moved
        MOVE_SELF: bool = false,
        /// File was opened for exec
        OPEN_EXEC: bool = false,
        reserved13: u1 = 0,
        /// Event queued overflowed
        Q_OVERFLOW: bool = false,
        /// Filesystem error
        FS_ERROR: bool = false,

        /// File open in perm check
        OPEN_PERM: bool = false,
        /// File accessed in perm check
        ACCESS_PERM: bool = false,
        /// File open/exec in perm check
        OPEN_EXEC_PERM: bool = false,
        reserved19: u8 = 0,
        /// Interested in child events
        EVENT_ON_CHILD: bool = false,
        /// File was renamed
        RENAME: bool = false,
        reserved30: u1 = 0,
        /// Event occurred against dir
        ONDIR: bool = false,
        reserved31: u33 = 0,
    }