Commit 8910ac2ba8

Elaine Gibson <ypsvlq@gmail.com>
2025-05-31 02:55:55
std.c.SOCK: define NONBLOCK and CLOEXEC for haiku
1 parent 8cd56e7
Changed files (1)
lib
std
lib/std/c.zig
@@ -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;