mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-10-28 21:28:21 +00:00
8 lines
157 B
C
8 lines
157 B
C
#include <kernel/syscalls.h>
|
|
#include <arch/cls.h>
|
|
|
|
syscallret syscall_getpid(){
|
|
syscallret retv = { arch_getcls()->thread->proc->pid, 0 };
|
|
return retv;
|
|
}
|