Browse Source

[sys/linux]: Fix numeric values for socket fd flags

flysand7 1 year ago
parent
commit
cc185d98b4
1 changed files with 2 additions and 2 deletions
  1. 2 2
      core/sys/linux/bits.odin

+ 2 - 2
core/sys/linux/bits.odin

@@ -944,8 +944,8 @@ Socket_Type :: enum {
 	Bits for Socket_FD_Flags
 	Bits for Socket_FD_Flags
 */
 */
 Socket_FD_Flags_Bits :: enum {
 Socket_FD_Flags_Bits :: enum {
-	NONBLOCK  = 14,
-	CLOEXEC   = 25,
+	NONBLOCK  = 11,
+	CLOEXEC   = 19,
 }
 }
 
 
 /*
 /*