Child catching with wait3()

Child catching with wait3()

Post by Lars Kraa » Thu, 21 Jul 1994 02:13:23



I am making a service which listens at a TCPIP port and forks every time
a client connects. When the child process finishes, I guess I need to
catch it from the parent process using wait3(). I seem to be having some
problems that the parent dies when it catches the child. Removing the
wait3() solves the problem.

Does anybody have some examples or can refer me to a good book on the
subject?

Thanks.

Lars Kraack

 
 
 

1. Getting a child and child's child process-id

 Why not just have the parent fork twice ??? Saves a lot of trouble ...
--


#  Have you read your Book In Basic Life Education today ? You should !!  #
#  Any views I express are not necessarily those of Brighton Polytechnic  #
###################### "surivorter erutangis a ma I" ######################

2. unable to dup message(1)

3. rh 8.0 install issues

4. catching a child process

5. ps/2 mouse can't work, please help

6. Catching zombie children from fork

7. rmap patch new VM concept?

8. HELP: child process catching death of parent

9. Catching termination of child process and system() call

10. Catching the death of someone else's child

11. Catch stdout of child process

12. Catching termination of child process and system() call