diff options
author | rsc <devnull@localhost> | 2004-04-21 04:50:23 +0000 |
---|---|---|
committer | rsc <devnull@localhost> | 2004-04-21 04:50:23 +0000 |
commit | f928ea857169efbed374171240af4eb7901009de (patch) | |
tree | bbfbec1e82f671d424e9383480ce73a8413f9180 | |
parent | 868600f21eb535bc419875e982c22ada85451bf3 (diff) | |
download | plan9port-f928ea857169efbed374171240af4eb7901009de.tar.gz plan9port-f928ea857169efbed374171240af4eb7901009de.tar.bz2 plan9port-f928ea857169efbed374171240af4eb7901009de.zip |
yet more
-rw-r--r-- | src/lib9/fork.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/lib9/fork.c b/src/lib9/fork.c new file mode 100644 index 00000000..99e84dc9 --- /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; +} |