summaryrefslogtreecommitdiff
path: root/src/unistd/fork.c
blob: 8a03bf328c14921436681157513dff1cbd3be28c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#include "stddef.h"
#include "sys/types.h"
#include <unistd.h>
#include "errno.h"
#include "_syscall.h"

pid_t fork(void)
{
	SYSCALL(fork, pid_t, -1, 0, 0, 0, 0, 0, 0);
}
/*
POSIX(1)
*/