in pipe2, use pipe() rather than __syscall(SYS_pipe, ...) for fallback
[musl] / src / unistd / getppid.c
1 #include <unistd.h>
2 #include "syscall.h"
3
4 pid_t getppid(void)
5 {
6         return __syscall(SYS_getppid);
7 }