aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFeoramund <161657516+Feoramund@users.noreply.github.com>2024-06-11 03:34:10 -0400
committerFeoramund <161657516+Feoramund@users.noreply.github.com>2024-06-11 03:55:41 -0400
commit40e99ebb1018914813d8b74ab9db222174b705dc (patch)
tree0a4cb3e61a72bd27e00ac885c97028a0414cae38
parentc68560c5737b16c71a25aa0b11cfddc139a7c565 (diff)
Fix file open `O_*` flags on FreeBSD
-rw-r--r--core/os/os_freebsd.odin18
1 files changed, 9 insertions, 9 deletions
diff --git a/core/os/os_freebsd.odin b/core/os/os_freebsd.odin
index cdd44d301..1b32128d6 100644
--- a/core/os/os_freebsd.odin
+++ b/core/os/os_freebsd.odin
@@ -112,15 +112,15 @@ EOWNERDEAD: Errno : 96
O_RDONLY :: 0x00000
O_WRONLY :: 0x00001
O_RDWR :: 0x00002
-O_CREATE :: 0x00040
-O_EXCL :: 0x00080
-O_NOCTTY :: 0x00100
-O_TRUNC :: 0x00200
-O_NONBLOCK :: 0x00800
-O_APPEND :: 0x00400
-O_SYNC :: 0x01000
-O_ASYNC :: 0x02000
-O_CLOEXEC :: 0x80000
+O_NONBLOCK :: 0x00004
+O_APPEND :: 0x00008
+O_ASYNC :: 0x00040
+O_SYNC :: 0x00080
+O_CREATE :: 0x00200
+O_TRUNC :: 0x00400
+O_EXCL :: 0x00800
+O_NOCTTY :: 0x08000
+O_CLOEXEC :: 0100000
SEEK_DATA :: 3