heyy ! i need someone to explain for me how do we create a process ( we start from a father pid 1 then we will create 5 generation : firt generation pid 11 and 12 .... ) and how do we give them the pid ? !!!! all i know that we use pid = fork() ;
The Process Identifier is passed back to you from fork(), you don't get to choose what values these are, and neither should you care what the actual values are.