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

msghdr

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

Fields

name: ?*sockaddr
namelen: socklen_t
iov: [*]iovec
iovlen: usize

The kernel and glibc use usize for this field; POSIX and musl use c_int.

control: ?*anyopaque
controllen: usize

The kernel and glibc use usize for this field; POSIX and musl use socklen_t.

flags: u32

File

os/linux.zig:10932
10932
10933
10934
10935
10936
10937
10938
10939
10940
10941
10942
pub const msghdr = extern struct {
    name: ?*sockaddr,
    namelen: socklen_t,
    iov: [*]iovec,
    /// The kernel and glibc use `usize` for this field; POSIX and musl use `c_int`.
    iovlen: usize,
    control: ?*anyopaque,
    /// The kernel and glibc use `usize` for this field; POSIX and musl use `socklen_t`.
    controllen: usize,
    flags: u32,
}