diff options
| author | Jeroen van Rijn <Kelimion@users.noreply.github.com> | 2024-06-04 11:27:01 +0200 |
|---|---|---|
| committer | Jeroen van Rijn <Kelimion@users.noreply.github.com> | 2024-06-04 11:27:01 +0200 |
| commit | 02f11dfdedcb10f3f45983692898e81b8f315030 (patch) | |
| tree | e6ad9b4907b94fc48e41912c08aaac8c368bf13a /core/os | |
| parent | 303d86ab7e54abb084bb96a556b6ff6d4a2d0f63 (diff) | |
| parent | 50374d93961955a534df40287285403805436db0 (diff) | |
Merge branch 'master' of github.com:odin-lang/Odindev-2024-06
Diffstat (limited to 'core/os')
| -rw-r--r-- | core/os/os_darwin.odin | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/os/os_darwin.odin b/core/os/os_darwin.odin index a688e1ac3..877a90bf1 100644 --- a/core/os/os_darwin.odin +++ b/core/os/os_darwin.odin @@ -442,7 +442,7 @@ F_GETPATH :: 50 // return the full path of the fd foreign libc { @(link_name="__error") __error :: proc() -> ^c.int --- - @(link_name="open") _unix_open :: proc(path: cstring, flags: i32, mode: u16) -> Handle --- + @(link_name="open") _unix_open :: proc(path: cstring, flags: i32, #c_vararg args: ..any) -> Handle --- @(link_name="close") _unix_close :: proc(handle: Handle) -> c.int --- @(link_name="read") _unix_read :: proc(handle: Handle, buffer: rawptr, count: c.size_t) -> int --- @(link_name="write") _unix_write :: proc(handle: Handle, buffer: rawptr, count: c.size_t) -> int --- |