39 |
int commands_max; /* size of allocated array */ |
int commands_max; /* size of allocated array */ |
40 |
command **commands; |
command **commands; |
41 |
pid_t *pids; |
pid_t *pids; |
42 |
int writeto, readfrom; /* if non-zero, create input/output pipes */ |
int want_in, want_out; /* if non-zero, create input/output pipes */ |
43 |
int writefd, readfd; /* created by pipeline_start(), else -1 */ |
int infd, outfd; /* created by pipeline_start(), else -1 */ |
44 |
} pipeline; |
} pipeline; |
45 |
|
|
46 |
/* Construct a new command. */ |
/* Construct a new command. */ |