streamline old-kernel fallback path of pipe2 to use syscalls directly
[musl] / src / unistd / getpid.c
1 #include <unistd.h>
2 #include "syscall.h"
3
4 pid_t getpid(void)
5 {
6         return __syscall(SYS_getpid);
7 }