title: Example of waitpid, WNOHANG, and SIGCHLD
body: <p>I need an example of <code>waitpid</code>, <code>WNOHANG</code> and <code>SIGCHLD</code> combined in C, and how I can use them all with fore\background?</p>
  
  <pre><code> signal( SIGCHLD, SIG_IGN );
  
   waitpid(child, status, 0);
  </code></pre>