Search:

Type: Posts; User: Unitedroad

Search: Search took 0.01 seconds.

  1. Replies
    10
    Views
    17,714

    Hi everyone, thanks alot...

    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...
  2. Replies
    10
    Views
    17,714

    So matsp, this means then that when the child...

    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...
  3. Replies
    10
    Views
    17,714

    Mog , I could not quiet understand what you...

    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...
  4. Replies
    10
    Views
    17,714

    HI Salem, thanks for the point,...

    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...
  5. Replies
    10
    Views
    17,714

    Problem with forking a process

    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>...
Results 1 to 5 of 5