Hello Members,
The wait() system call is illustrated to be used as follows:
int status, pid;
/*fork a child process*/
/*parent is waiting for the child to terminate*/
pid = wait(*status)
What exactly does the pointer to the "status" variable do when "status" has not even been assigned a value anywhere?
Thank you!