commit | f928ea857169efbed374171240af4eb7901009de | [log] [tgz] |
---|---|---|
author | rsc <devnull@localhost> | Wed Apr 21 04:50:23 2004 +0000 |
committer | rsc <devnull@localhost> | Wed Apr 21 04:50:23 2004 +0000 |
tree | bbfbec1e82f671d424e9383480ce73a8413f9180 | |
parent | 868600f21eb535bc419875e982c22ada85451bf3 [diff] [blame] |
yet more
diff --git a/src/lib9/fork.c b/src/lib9/fork.c new file mode 100644 index 0000000..99e84dc --- /dev/null +++ b/src/lib9/fork.c
@@ -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; +}