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_uring_buf_reg

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

argument for IORING_(UN)REGISTER_PBUF_RING

Fields

ring_addr: u64
ring_entries: u32
bgid: u16
flags: Flags
resv: [3]u64

Structs

File

os/linux.zig:7832
7832
7833
7834
7835
7836
7837
7838
7839
7840
7841
7842
7843
7844
7845
pub const io_uring_buf_reg = extern struct {
    ring_addr: u64,
    ring_entries: u32,
    bgid: u16,
    flags: Flags,
    resv: [3]u64,

    pub const Flags = packed struct(u16) {
        _0: u1 = 0,
        /// Incremental buffer consumption.
        inc: bool,
        _: u14 = 0,
    };
}