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

InitFlags

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

Fields

CLOEXEC: bool = false
NONBLOCK: bool = false
CLASS: enum(u2) { NOTIF = 0, CONTENT = 1, PRE_CONTENT = 2, } = .NOTIF
UNLIMITED_QUEUE: bool = false
UNLIMITED_MARKS: bool = false
ENABLE_AUDIT: bool = false
REPORT_PIDFD: bool = false
REPORT_TID: bool = false
REPORT_FID: bool = false
REPORT_DIR_FID: bool = false
REPORT_NAME: bool = false
REPORT_TARGET_FID: bool = false
_: u19 = 0

File

os/linux.zig:6444
6444
6445
6446
6447
6448
6449
6450
6451
6452
6453
6454
6455
6456
6457
6458
6459
6460
6461
6462
    pub const InitFlags = packed struct(u32) {
        CLOEXEC: bool = false,
        NONBLOCK: bool = false,
        CLASS: enum(u2) {
            NOTIF = 0,
            CONTENT = 1,
            PRE_CONTENT = 2,
        } = .NOTIF,
        UNLIMITED_QUEUE: bool = false,
        UNLIMITED_MARKS: bool = false,
        ENABLE_AUDIT: bool = false,
        REPORT_PIDFD: bool = false,
        REPORT_TID: bool = false,
        REPORT_FID: bool = false,
        REPORT_DIR_FID: bool = false,
        REPORT_NAME: bool = false,
        REPORT_TARGET_FID: bool = false,
        _: u19 = 0,
    }