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
pubconstLinkUpdateAttr = externstruct {
link_fd: fd_t,
/// new program to update link withnew_prog_fd: fd_t,
/// extra flagsflags: u32,
/// expected link's program fd, it is specified only if BPF_F_REPLACE is/// set in flagsold_prog_fd: fd_t,
}
struct used by Cmd.link_update command