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

io_sqring_offsets

Public Struct
std.os.linux.io_sqring_offsets
pub const io_sqring_offsets = extern struct

Filled with the offset for mmap(2)

Fields

head: u32

offset of ring head

tail: u32

offset of ring tail

ring_mask: u32

ring mask value

ring_entries: u32

entries in ring

flags: u32

ring flags

dropped: u32

number of sqes not submitted

array: u32

sqe index array

resv1: u32
user_addr: u64

File

os/linux.zig:7523
7523
7524
7525
7526
7527
7528
7529
7530
7531
7532
7533
7534
7535
7536
7537
7538
7539
7540
7541
7542
7543
7544
7545
7546
7547
pub const io_sqring_offsets = extern struct {
    /// offset of ring head
    head: u32,

    /// offset of ring tail
    tail: u32,

    /// ring mask value
    ring_mask: u32,

    /// entries in ring
    ring_entries: u32,

    /// ring flags
    flags: u32,

    /// number of sqes not submitted
    dropped: u32,

    /// sqe index array
    array: u32,

    resv1: u32,
    user_addr: u64,
}