shithub: riscv

ref: fc55d674565f65401a9fc89c90a3769d7c8cb4ae
dir: /sys/src/libc/9sys/fork.c/

View raw version
#include <u.h>
#include <libc.h>

int
fork(void)
{
	return rfork(RFPROC|RFFDG|RFREND);
}