/**
 * File: reap-as-they-exit.c
 * -------------------------
 * The following program spawns off 8 children,
 * each of which returns a different exit status.
 */

#include <unistd.h>     // for fork
#include <stdio.h>      // for printf
#include <sys/wait.h>   // for waitpid
#include <errno.h>      // for errno, ECHILD

static const int kNumChildren = 8;

int main(int argc, char *argv[]) {
    // TODO
    return 0;
}
