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