Here\'s my code (created just to test fork()):
#include #include #include #include #inclu
I think that you have to do the following instead:
pid_t pid = fork();
To learn more about Linux API, go to this online manual page, or even go into your terminal right now and type,
man fork
Good luck!