summaryrefslogtreecommitdiff
path: root/src/process/fork.c
blob: 1213f0f509e93d5e2f787862ccc6804ab5ab1f46 (plain)
1
2
3
4
5
6
7
8
9
#include <unistd.h>
#include "syscall.h"

/* FIXME: add support for atfork stupidity */

pid_t fork(void)
{
	return syscall0(__NR_fork);
}