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

GetIdAttr

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

struct used by Cmd.get_id commands

Fields

id: extern union { start_id: u32, prog_id: u32, map_id: u32, btf_id: u32, link_id: u32, }
next_id: u32
open_flags: u32

File

os/linux/bpf.zig:1469
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
pub const GetIdAttr = extern struct {
    id: extern union {
        start_id: u32,
        prog_id: u32,
        map_id: u32,
        btf_id: u32,
        link_id: u32,
    },
    next_id: u32,
    open_flags: u32,
}