Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Which of the following is true for WNOHANG, WUNTRANCED, WCONTINUED flags of the waitpid system call. Group of answer choices System call state = waitpid
Which of the following is true for WNOHANG, WUNTRANCED, WCONTINUED flags of the waitpid system call.
Group of answer choices
System call state waitpid&status, WNOHANG will give us the cause of the change of state of a process if we process variable state with the following Macros: WIFEXITED, WIFSIGNALED.
System call waitpidpid&status, WUNTRACED ensures that one of the two processes involved is allowed to fork a child.
System call waitpid &status, WCONTINUED returns success when the first random child continues.
If WNOHANG is used then it cannot detect when the process has been stopped in system call waitpid&status, WNOHANG
None of the above
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started