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