9 lines
118 B
C
9 lines
118 B
C
|
#include <unistd.h>
|
||
|
#include <syscall.h>
|
||
|
|
||
|
DEFN_SYSCALL0(getpid, 9);
|
||
|
|
||
|
pid_t getpid(void) {
|
||
|
return syscall_getpid();
|
||
|
}
|