procs_waitpid
while ((child = procs_waitpid(blocking, &stat_loc)) > 0) {
static pid_t procs_waitpid(boolean_t blocking, int *stat_loc);