ref: 47cff2e833604ecf7e8f2742911efb444e2b912e dir: /sys/src/libc/9sys/fork.c/
#include <u.h> #include <libc.h> int fork(void) { return rfork(RFPROC|RFFDG|RFREND); }