Skip to content

Commit 860b242

Browse files
committed
std.c.SOCK: define NONBLOCK and CLOEXEC for haiku
1 parent be67a33 commit 860b242

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/std/c.zig

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5703,6 +5703,8 @@ pub const SOCK = switch (native_os) {
57035703
pub const RAW = 3;
57045704
pub const SEQPACKET = 5;
57055705
pub const MISC = 255;
5706+
pub const NONBLOCK = 0x40000;
5707+
pub const CLOEXEC = 0x80000;
57065708
},
57075709
.openbsd => struct {
57085710
pub const STREAM = 1;

0 commit comments

Comments
 (0)