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

QueryAttr

Public Struct
std.os.linux.bpf.QueryAttr
pub const QueryAttr = extern struct

struct used by Cmd.prog_query command

Fields

target_fd: fd_t

container object to query

attach_type: u32
query_flags: u32
attach_flags: u32
prog_ids: u64
prog_cnt: u32

File

os/linux/bpf.zig:1489
1489
1490
1491
1492
1493
1494
1495
1496
1497
pub const QueryAttr = extern struct {
    /// container object to query
    target_fd: fd_t,
    attach_type: u32,
    query_flags: u32,
    attach_flags: u32,
    prog_ids: u64,
    prog_cnt: u32,
}