#include "sys/Syscall.h" #include "thread/Scheduler.h" Result sys_getpid(Registers*, SyscallArgs) { return Scheduler::current()->id; }