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.Uring.InitOptions
pub const InitOptions = struct

Fields

backing_allocator_needs_mutex: bool = true
thread_limit: ?usize = null

Maximum thread pool size (excluding the main thread). Defaults to one less than the number of logical CPU cores.

sync_limit: Io.Limit = .unlimited

Maximum number of threads that may perform synchronous syscalls.

log2_ring_entries: u4 = 3
argv0: Argv0 = .empty

Affects the following operations:

environ: process.Environ = .empty

Affects the following operations:

File

Io/Uring.zig:791
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
pub const InitOptions = struct {
    backing_allocator_needs_mutex: bool = true,

    /// Maximum thread pool size (excluding the main thread).
    /// Defaults to one less than the number of logical CPU cores.
    thread_limit: ?usize = null,
    /// Maximum number of threads that may perform synchronous syscalls.
    sync_limit: Io.Limit = .unlimited,

    log2_ring_entries: u4 = 3,

    /// 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,
}