Question OS-BAS-0076
HardWhat does the system call wait() return to a parent?
- A.
Always 0
- B.
The parent's own PID
- C.
Sign up free to see the answer and a step-by-step explanation.
Popular companies
Prepare company by company
Hiring pattern, syllabus, past questions and mocks for each company.
All companiesPractice by subject
OS Basics question
What does the system call wait() return to a parent?
Always 0
The parent's own PID
Sign up free to see the answer and a step-by-step explanation.
The PID of a child that has terminated (and its exit status through an argument)
The number of open files