Commit Diff


commit - 175b8a534ae5729ac10ea793410a40bfa4a30608
commit + 070905e215324bf0f10f0c88ab9110d2e7840197
blob - 4550eda951938310ad855f9c00c63773f8d0be99
blob + 7024378db7f013a629172e8401a6aca198b739e1
--- include/libc.h
+++ 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