Hello yesterday I have one question it is here: Question
And now I have other problem, I have the code based on answer by some guy
And now I have a problem I need for all children to see the pids of other child, how can i do that?? I try using global variables, but maybe in wrong way.
Please help I need a fast answer
Create a file with the parent process and write pids of all children. Read this file from the children after some delay. You can write out, N
, the number of children first and then N
lines each line containing one pid.