BarryServer : Git

All the code for all my projects
// BarryServer : Git / OrionLibC / blob / master / unistd / fork.c

// Related

OrionLibC

Barry Importing existing Orion LibC 03048a9 (2 years, 3 months ago)
#include <stddef.h>
#include <sys/syscall.h>
#include <sys/types.h>
#include <sys/sched.h>

/* Fork the current process */
pid_t
fork(void)
{
	return clone(CLONE_NONE);
}