mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-01 20:28:15 +00:00
add unsupported check in process test
This commit is contained in:
@@ -162,6 +162,8 @@ _get_platform_error :: proc(errno: linux.Errno) -> Error {
|
||||
return .Invalid_File
|
||||
case .ENOMEM:
|
||||
return .Out_Of_Memory
|
||||
case .ENOSYS:
|
||||
return .Unsupported
|
||||
}
|
||||
|
||||
return Platform_Error(i32(errno))
|
||||
|
||||
Reference in New Issue
Block a user