ast_comparator/test/student_data/handout/shlab-handout/cases/reference_22_tsh.c
/* 
 * sigchld_handler - The kernel sends a SIGCHLD to the shell whenever
 *  a child job terminates (becomes a zombie), or stops because it
 *  received a SIGSTOP or SIGTSTP signal.  The handler reaps all
 *  available zombie children, but doesn't wait for any other
 *  currently running children to terminate.  
 *
 * Requires:
 *   <???>
 *
 * Effects:
 *   <???>
 */
The kernel sends a SIGCHLD to the shell whenever
a child job terminates (becomes a zombie), or stops because it
received a SIGSTOP or SIGTSTP signal.  The handler reaps all
available zombie children, but doesn't wait for any other
currently running children to terminate.




The kernel sends a SIGCHLD to the shell whenever a child job terminates ( becomes a zombie ) or stops because it received a SIGSTOP or SIGTSTP signal . The handler reaps all available zombie children but doesn ' t wait for any other currently running children to terminate .
static void
sigchld_handler(int signum)
{
	(void)signum;
}
static void sigchld_handler ( int signum ) { ( void ) signum ; }
sigchld_handler - The kernel sends a SIGCHLD to the shell whenever
  a child job terminates (becomes a zombie), or stops because it
  received a SIGSTOP or SIGTSTP signal.
sigchld_handler - The kernel sends a SIGCHLD to the shell whenever a child job terminates ( becomes a zombie ) or stops because it received a SIGSTOP or SIGTSTP signal .
// Prevent an "unused parameter" warning.