Hi everyone,
thanks alot explaining me all the reasons why I wasn't seeing the output of this program as I expected it to be. Thanks alot for the patience through which you...
Type: Posts; User: Unitedroad
Hi everyone,
thanks alot explaining me all the reasons why I wasn't seeing the output of this program as I expected it to be. Thanks alot for the patience through which you...
So matsp, this means then that when the child process is terminated with exit call , it flushes out the output , so what was there in the printf statement that was already to be printed by the...
Mog , I could not quiet understand what you meant. Did you mean that in my code , both the parent and the child should go through the print statements and the rest of the code, I think oly the parent...
HI Salem,
thanks for the point, but the child process should not even access the stdout , as it goes to the function childprocess where it eventually exits , therefore it should not...
Hello all,
I am try to see how forking the process works. I am having some problem with the code I have written :
#include <stdio.h>
#include <fcntl.h>
#include <sys/stat.h>...