Make os.get_last_error contextless
This commit is contained in:
1 parent
b8eacfc7b6
commit
ffe953b43d
4 files changed
+4
-4
No files matched your search
@@ -294,7 +294,7 @@ is_path_separator :: proc(r: rune) -> bool {
|
||||
return r == '/'
|
||||
}
|
||||
|
||||
get_last_error :: proc() -> int {
|
||||
get_last_error :: proc "contextless" () -> int {
|
||||
return __errno()^
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user