in reply to Re: Re: basic fork question
in thread basic fork question
You can return information to the parent via a number of methods. The common way is simply as a return code, or using pipes. Setting global variables, though, is problematic and won't allow you to scale up your solution.
Look up IPC (inter-process communication) and decide on which method is best for your program.
|
|---|