diff options
| author | gingerBill <gingerBill@users.noreply.github.com> | 2025-11-14 11:17:38 +0000 |
|---|---|---|
| committer | gingerBill <gingerBill@users.noreply.github.com> | 2025-11-14 11:17:38 +0000 |
| commit | e4fcebe4bf715cf60ccb74f2a03abca995ca608f (patch) | |
| tree | 84b90a922b4b89e00560631abffd56aacd075fb2 /core/os/os2 | |
| parent | 51536fecf4859d61d2a0a786eb33ac4f2dc4fb73 (diff) | |
`Empty` -> `Unsupported`bill/io-error-changes
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 } |