Add assignment 1 struct hint
This commit is contained in:
parent
207c258ddb
commit
e597100f71
1 changed files with 11 additions and 0 deletions
11
assignment1/struct.c
Normal file
11
assignment1/struct.c
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
#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;
|
Loading…
Reference in a new issue