aboutsummaryrefslogtreecommitdiff
path: root/src/lib9/fork.c
blob: 99e84dc915eb04b8dcaae43494b2923c43fdfb08 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#include <u.h>
#include <libc.h>
#include "9proc.h"
#undef fork

int
p9fork(void)
{
	int pid;

	pid = fork();
	_p9uproc(0);
	return pid;
}