Zig 0.17.0-dev (Split by item)

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 library itself.

MapElemAttr

struct used by Cmd.map_*_elem commands

bpf.MapElemAttr
pub const MapElemAttr = extern struct

File

lib/std/os/linux/bpf.zig:1338

Code

pub const MapElemAttr = extern struct {
    map_fd: fd_t,
    key: u64,
    result: extern union {
        value: u64,
        next_key: u64,
    },
    flags: u64,
}