mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-08 08:38:51 +00:00
[os2]: Implement pipe_has_data procedure
This commit is contained in:
@@ -55,13 +55,15 @@ _get_platform_error :: proc() -> Error {
|
||||
case win32.ERROR_NEGATIVE_SEEK:
|
||||
return .Invalid_Offset
|
||||
|
||||
case win32.ERROR_BROKEN_PIPE:
|
||||
return .Broken_Pipe
|
||||
|
||||
case
|
||||
win32.ERROR_BAD_ARGUMENTS,
|
||||
win32.ERROR_INVALID_PARAMETER,
|
||||
win32.ERROR_NOT_ENOUGH_MEMORY,
|
||||
win32.ERROR_NO_MORE_FILES,
|
||||
win32.ERROR_LOCK_VIOLATION,
|
||||
win32.ERROR_BROKEN_PIPE,
|
||||
win32.ERROR_CALL_NOT_IMPLEMENTED,
|
||||
win32.ERROR_INSUFFICIENT_BUFFER,
|
||||
win32.ERROR_INVALID_NAME,
|
||||
|
||||
Reference in New Issue
Block a user