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.

posix_msghdr

https://pubs.opengroup.org/onlinepubs/9799919799/basedefs/sys_socket.h.html

c.posix_msghdr
const posix_msghdr = extern struct

File

lib/std/c.zig:4179

Code

const posix_msghdr = extern struct {
    name: ?*sockaddr,
    namelen: socklen_t,
    iov: [*]iovec,
    pad0: MuslOnlyPadding(.big) = 0,
    iovlen: u32,
    pad1: MuslOnlyPadding(.little) = 0,
    control: ?*anyopaque,
    pad2: MuslOnlyPadding(.big) = 0,
    controllen: socklen_t,
    pad3: MuslOnlyPadding(.little) = 0,
    flags: u32,
}