child.h 270 B

123456789
  1. typedef struct {
  2. pid_t child_pid; /* process ID */
  3. int child_pipefd; /* parent's stream pipe to/from child */
  4. int child_status; /* 0 = ready */
  5. long child_count; /* # connections handled */
  6. } Child;
  7. Child *cptr; /* array of Child structures; calloc'ed */