379_demos/assignment1/struct.c

11 lines
194 B
C

#include <stdbool.h>
typedef struct Cmd {
char* command;
char** args;
int read_from;
int write_to;
bool is_background;
bool is_internal;
struct Cmd* pipe_to;
} Cmd;