Begin mapping os.Error in the rest of the codebase

This commit is contained in:
gingerBill committed 2024-08-04 11:58:04 +01:00
1 parent 1d75a612d5
commit 97c499dbb4
18 files changed
+231 -222

No files matched your search

+1
View File
@@ -520,6 +520,7 @@ _get_errno :: proc(res: int) -> Error {
}
// get errno from libc
@(require_results, no_instrumentation)
get_last_error :: proc "contextless" () -> Error {
err := Platform_Error(__errno_location()^)
#partial switch err {