aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/libc.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/libc.h b/include/libc.h
index 4550eda9..7024378d 100644
--- a/include/libc.h
+++ b/include/libc.h
@@ -677,7 +677,7 @@ extern int p9dup(int, int);
extern int errstr(char*, uint);
extern int p9exec(char*, char*[]);
/* extern int execl(char*, ...); <unistd.h> */
-/* extern int fork(void); <unistd.h> */
+extern int p9fork(void);
extern int p9rfork(int);
/* not implemented
extern int fauth(int, char*);
@@ -733,6 +733,7 @@ extern ulong rendezvous(ulong, ulong);
#define sleep p9sleep
#define wait p9wait
#define waitpid p9waitpid
+#define fork p9fork
#define rfork p9rfork
/* #define access p9access */
#define create p9create