#include
#include
int main(void)
{
pid_t pid;
pid = fork();
if (pid > 0)
printf(Im the parent!
);
else if (pid == 0)
printf(Im the child!
);
else
printf(Im the initial process!
But something went wrong
);
printf(Im here now, bye!
);
return 0;
}
Reviews
There are no reviews yet.