pub const IOV_MAX = switch (native_os)
1322 1323 1324 1325 1326 1327 1328 1329 1330
pub const IOV_MAX = switch (native_os) { .linux => linux.IOV_MAX, .emscripten => emscripten.IOV_MAX, // https://github.com/SerenityOS/serenity/blob/098af0f846a87b651731780ff48420205fd33754/Kernel/API/POSIX/sys/uio.h#L16 .openbsd, .haiku, .illumos, .wasi, .serenity => 1024, .driverkit, .ios, .maccatalyst, .macos, .tvos, .visionos, .watchos => 16, .dragonfly, .netbsd, .freebsd => KERN.IOV_MAX, else => {}, }