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

MapElemAttr

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

struct used by Cmd.map_*_elem commands

Fields

map_fd: fd_t
key: u64
result: extern union { value: u64, next_key: u64, }
flags: u64

File

os/linux/bpf.zig:1338
1338
1339
1340
1341
1342
1343
1344
1345
1346
pub const MapElemAttr = extern struct {
    map_fd: fd_t,
    key: u64,
    result: extern union {
        value: u64,
        next_key: u64,
    },
    flags: u64,
}