title: Return value of waitpid() in linux
body: <p>When the waitpid() function is implemented in the following way,what does it return when the child is stopped due to SIGTSTP signal? and why?</p>
  
  <p><code>waitpid(pid,&amp;status,WUNTRACED);</code><br>
  where pid is process id of any process and status is of type int.</p>
  
  <p>Does it also suspends the calling process till it not found any stopped or terminated child or it won't affect the ongoing process? </p>