mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-06 15:48:51 +00:00
use runtime.exit for os2.exit
This commit is contained in:
@@ -10,10 +10,6 @@ import "core:strings"
|
||||
import kq "core:sys/kqueue"
|
||||
import "core:sys/posix"
|
||||
|
||||
_exit :: proc "contextless" (code: int) -> ! {
|
||||
posix.exit(i32(code))
|
||||
}
|
||||
|
||||
_get_uid :: proc() -> int {
|
||||
return int(posix.getuid())
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user