in reply to Help with waitpid and forking ?
Hi
I was just debugging the code and I found out that it does copying of certain directories more than once. After the first fork. it does the job of the second fork again since it is in the for loop. How can I fix this problem? Is there a way that I can set up the forks before i do the coping? Any help would be great.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Help with waitpid and forking ?
by jlongino (Parson) on Sep 05, 2001 at 19:46 UTC |