mirror of
https://github.com/9fans/plan9port.git
synced 2025-01-24 11:41:58 +00:00
yet more
This commit is contained in:
parent
868600f21e
commit
f928ea8571
1 changed files with 14 additions and 0 deletions
14
src/lib9/fork.c
Normal file
14
src/lib9/fork.c
Normal file
|
@ -0,0 +1,14 @@
|
|||
#include <u.h>
|
||||
#include <libc.h>
|
||||
#include "9proc.h"
|
||||
#undef fork
|
||||
|
||||
int
|
||||
p9fork(void)
|
||||
{
|
||||
int pid;
|
||||
|
||||
pid = fork();
|
||||
_p9uproc(0);
|
||||
return pid;
|
||||
}
|
Loading…
Reference in a new issue