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

InitOptions

Public Struct
std.Io.Dispatch.InitOptions
pub const InitOptions = struct

Fields

backing_allocator_needs_mutex: bool = true
target_queue: ?c.dispatch.queue_t = .TARGET_DEFAULT
leeway: Io.Duration = .fromMilliseconds(10)

Upper limit on the allowable delay in processing timeouts in order to improve power consumption and system performance.

argv0: Argv0 = .empty

Affects the following operations:

environ: process.Environ = .empty

Affects the following operations:

File

Io/Dispatch.zig:471
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
pub const InitOptions = struct {
    backing_allocator_needs_mutex: bool = true,
    target_queue: ?c.dispatch.queue_t = .TARGET_DEFAULT,
    /// Upper limit on the allowable delay in processing timeouts in order to improve power
    /// consumption and system performance.
    leeway: Io.Duration = .fromMilliseconds(10),

    /// Affects the following operations:
    /// * `processExecutablePath` on OpenBSD and Haiku.
    argv0: Argv0 = .empty,
    /// Affects the following operations:
    /// * `fileIsTty`
    /// * `processSpawn`, `processSpawnPath`, `processReplace`, `processReplacePath`
    environ: process.Environ = .empty,
}