1 2 3 4 5 6 7 8 9 10
#include <sys/types.h> #include "_syscall.h" pid_t fork(void) { SYSCALL(fork, pid_t, -1, 0, 0, 0, 0, 0, 0); } /* POSIX(1) */