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 standard library.
std › c › illumos › procfs › misc_header Public Struct misc_header Doc Source Public Struct std.c.illumos.procfs.misc_header
pub const misc_header = extern struct Fields size : u32 type : enum (u32 ) { Pathname , Socketname , Peersockname , SockoptsBoolOpts , SockoptLinger , SockoptSndbuf , SockoptRcvbuf , SockoptIpNexthop , SockoptIpv6Nexthop , SockoptType , SockoptTcpCongestion , SockfiltersPriv = 14 , } File c/illumos.zig: 123
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139 pub const misc_header = extern struct {
size : u32 ,
type : enum (u32 ) {
Pathname ,
Socketname ,
Peersockname ,
SockoptsBoolOpts ,
SockoptLinger ,
SockoptSndbuf ,
SockoptRcvbuf ,
SockoptIpNexthop ,
SockoptIpv6Nexthop ,
SockoptType ,
SockoptTcpCongestion ,
SockfiltersPriv = 14 ,
},
}