base
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
#ifndef __CHILD_H__
|
||||
#define __CHILD_H__
|
||||
|
||||
typedef struct {
|
||||
pid_t child_pid; /* process ID */
|
||||
int child_pipefd; /* parent's stream pipe to/from child */
|
||||
int child_status; /* 0 = ready */
|
||||
long child_count; /* # connections handled */
|
||||
} Child;
|
||||
|
||||
Child *cptr; /* array of Child structures; calloc'ed */
|
||||
#endif
|
||||
Reference in New Issue
Block a user