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.

Ident

elf.Ident
pub const Ident = extern struct

File

lib/std/elf.zig:1617

Code

pub const Ident = extern struct {
    magic: [MAGIC.len]u8 = MAGIC.*,
    class: CLASS,
    data: DATA,
    version: u8,
    osabi: OSABI,
    abiversion: u8,
    pad: [7]u8 = @splat(0),

    comptime {
        assert(@sizeOf(Ident) == EI.NIDENT);
    }
}