add unsupported check in process test
This commit is contained in:
1 parent
563ed69c28
commit
64508e477b
2 files changed
+8
No files matched your search
@@ -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