std.c.SOCK: define NONBLOCK and CLOEXEC for haiku

This commit is contained in:
Elaine Gibson 2025-05-31 01:55:55 +01:00
parent 8cd56e7088
commit 8910ac2ba8

View File

@ -5703,6 +5703,9 @@ pub const SOCK = switch (native_os) {
pub const RAW = 3;
pub const SEQPACKET = 5;
pub const MISC = 255;
pub const NONBLOCK = 0x40000;
pub const CLOEXEC = 0x80000;
},
.openbsd => struct {
pub const STREAM = 1;