diff options
Diffstat (limited to 'core/os/os2')
| -rw-r--r-- | core/os/os2/file_linux.odin | 4 | ||||
| -rw-r--r-- | core/os/os2/file_posix.odin | 2 | ||||
| -rw-r--r-- | core/os/os2/file_wasi.odin | 2 | ||||
| -rw-r--r-- | core/os/os2/file_windows.odin | 2 |
4 files changed, 5 insertions, 5 deletions
diff --git a/core/os/os2/file_linux.odin b/core/os/os2/file_linux.odin index b2350d9b5..6d66ffd75 100644 --- a/core/os/os2/file_linux.odin +++ b/core/os/os2/file_linux.odin @@ -515,7 +515,7 @@ _file_stream_proc :: proc(stream_data: rawptr, mode: io.Stream_Mode, p: []byte, case .Query: return io.query_utility({.Read, .Read_At, .Write, .Write_At, .Seek, .Size, .Flush, .Close, .Destroy, .Query}) } - return 0, .Empty + return 0, .Unsupported } @@ -559,6 +559,6 @@ _file_stream_buffered_proc :: proc(stream_data: rawptr, mode: io.Stream_Mode, p: case .Query: return io.query_utility({.Read, .Read_At, .Write, .Write_At, .Seek, .Size, .Flush, .Close, .Destroy, .Query}) } - return 0, .Empty + return 0, .Unsupported } diff --git a/core/os/os2/file_posix.odin b/core/os/os2/file_posix.odin index fd409b9d4..f445cb5f4 100644 --- a/core/os/os2/file_posix.odin +++ b/core/os/os2/file_posix.odin @@ -502,6 +502,6 @@ _file_stream_proc :: proc(stream_data: rawptr, mode: io.Stream_Mode, p: []byte, return io.query_utility({.Read, .Read_At, .Write, .Write_At, .Seek, .Size, .Flush, .Close, .Destroy, .Query}) case: - return 0, .Empty + return 0, .Unsupported } } diff --git a/core/os/os2/file_wasi.odin b/core/os/os2/file_wasi.odin index ec464fc52..b60cce4be 100644 --- a/core/os/os2/file_wasi.odin +++ b/core/os/os2/file_wasi.odin @@ -557,6 +557,6 @@ _file_stream_proc :: proc(stream_data: rawptr, mode: io.Stream_Mode, p: []byte, return io.query_utility({.Read, .Read_At, .Write, .Write_At, .Seek, .Size, .Flush, .Close, .Destroy, .Query}) case: - return 0, .Empty + return 0, .Unsupported } } diff --git a/core/os/os2/file_windows.odin b/core/os/os2/file_windows.odin index be5aeb8ab..03fbc596e 100644 --- a/core/os/os2/file_windows.odin +++ b/core/os/os2/file_windows.odin @@ -866,7 +866,7 @@ _file_stream_proc :: proc(stream_data: rawptr, mode: io.Stream_Mode, p: []byte, case .Query: return io.query_utility({.Read, .Read_At, .Write, .Write_At, .Seek, .Size, .Flush, .Close, .Destroy, .Query}) } - return 0, .Empty + return 0, .Unsupported } |