os: add getuid and geteuid (#10002)

This commit is contained in:
Miccah 2021-05-05 06:20:11 -05:00 committed by GitHub
parent 4bc56dc0a2
commit 12c3f85507
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 14 additions and 0 deletions

View file

@ -75,6 +75,10 @@ fn C.pclose(stream &C.FILE) int
[trusted]
fn C.getpid() int
fn C.getuid() int
fn C.geteuid() int
fn C.system(cmd &char) int
fn C.posix_spawn(child_pid &int, path &char, file_actions voidptr, attrp voidptr, argv &&char, envp &&char) int