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

SHARE

Public Struct
std.os.windows.FILE.SHARE
pub const SHARE = packed struct(ULONG)

Fields

READ: bool = false

The file can be opened for read access by other threads.

WRITE: bool = false

The file can be opened for write access by other threads.

DELETE: bool = false

The file can be opened for delete access by other threads.

Reserved3: u29 = 0

Values

File

os/windows.zig:625
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
    pub const SHARE = packed struct(ULONG) {
        /// The file can be opened for read access by other threads.
        READ: bool = false,
        /// The file can be opened for write access by other threads.
        WRITE: bool = false,
        /// The file can be opened for delete access by other threads.
        DELETE: bool = false,
        Reserved3: u29 = 0,

        pub const VALID_FLAGS: SHARE = .{
            .READ = true,
            .WRITE = true,
            .DELETE = true,
        };
    }