authorgravatar for ypsvlq@gmail.comElaine Gibson <ypsvlq@gmail.com> 2025-05-31 01:55:55+01:00
committergravatar for ypsvlq@gmail.comElaine Gibson <ypsvlq@gmail.com> 2025-06-05 12:30:54+01:00
log8910ac2ba877ebf745fb35b8ec9b21fdc70d092a
treec76750b8aa1799758e14085b7e5de209a11c045a
parent8cd56e70886e9ccc1f6a1c7978b32ba7e79516e0

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


1 files changed, 3 insertions(+), 0 deletions(-)

lib/std/c.zig+3
...@@ -5703,6 +5703,9 @@ pub const SOCK = switch (native_os) {...@@ -5703,6 +5703,9 @@ pub const SOCK = switch (native_os) {
5703 pub const RAW = 3;5703 pub const RAW = 3;
5704 pub const SEQPACKET = 5;5704 pub const SEQPACKET = 5;
5705 pub const MISC = 255;5705 pub const MISC = 255;
5706
5707 pub const NONBLOCK = 0x40000;
5708 pub const CLOEXEC = 0x80000;
5706 },5709 },
5707 .openbsd => struct {5710 .openbsd => struct {
5708 pub const STREAM = 1;5711 pub const STREAM = 1;