Type msghdr_const [src]

Source

pub const msghdr_const = switch (native_os) { .linux => linux.msghdr_const, .openbsd, .emscripten, .dragonfly, .freebsd, .netbsd, .haiku, .solaris, .illumos, .macos, .driverkit, .ios, .tvos, .visionos, .watchos, => extern struct { /// optional address name: ?*const sockaddr, /// size of address namelen: socklen_t, /// scatter/gather array iov: [*]const iovec_const, /// # elements in iov iovlen: i32, /// ancillary data control: ?*const anyopaque, /// ancillary data buffer len controllen: socklen_t, /// flags on received message flags: i32, }, .serenity => extern struct { name: ?*const anyopaque, namelen: socklen_t, iov: [*]const iovec, iovlen: c_int, control: ?*const anyopaque, controllen: socklen_t, flags: c_int, }, else => void, }