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

rtattr

Public Struct
std.os.linux.rtattr
pub const rtattr = extern struct

Fields

len: c_ushort

Length of option

type: extern union { /// IFLA_* from linux/if_link.h link: IFLA, /// IFA_* from linux/if_addr.h addr: IFA, }

Type of option

Values

File

os/linux.zig:10048
10048
10049
10050
10051
10052
10053
10054
10055
10056
10057
10058
10059
10060
10061
pub const rtattr = extern struct {
    /// Length of option
    len: c_ushort,

    /// Type of option
    type: extern union {
        /// IFLA_* from linux/if_link.h
        link: IFLA,
        /// IFA_* from linux/if_addr.h
        addr: IFA,
    },

    pub const ALIGNTO = 4;
}