if (WIFEXITED(status)) log_d("child process %d exited with status %d", pid, WEXITSTATUS(status)); else if (WIFSIGNALED(status)) 
if (WIFEXITED(status)) { if (debug) log_d("child process %d exited with status %d", pid, WEXITSTATUS(status)); } else if (WIFSIGNALED(status)) 
static void reap_children(void){	int status, pid;	while (1) {		pid = waitpid(-1, &status, WNOHANG | WUNTRACED);		if (pid <= 0)			break;		++numchildren;		if (WIFEXITED(status))			log_d("child process %d exited with status %d", pid, WEXITSTATUS(status));		else if (WIFSIGNALED(status))			log_d("child process %d killed by signal %d", pid, WTERMSIG(status));		else if (WIFSTOPPED(status))			log_d("child process %d stopped by signal %d", pid, WSTOPSIG(status));	}	if (pid < 0 && errno != ECHILD)		lerror("waitpid");}
8520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/8520/cc3456e5b5555be2e27b45c3762e90f4eccb2b36/core.c/clean/src/core.c