add unsupported check in process test

This commit is contained in:
Laytan
2024-10-04 13:24:24 +02:00
parent 563ed69c28
commit 64508e477b
2 changed files with 8 additions and 0 deletions
+2
View File
@@ -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))