From e597100f71f714770b21fe08972a94b419f44594 Mon Sep 17 00:00:00 2001 From: Akemi Izuko Date: Tue, 24 Sep 2024 19:36:42 -0600 Subject: [PATCH] Add assignment 1 struct hint --- assignment1/struct.c | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 assignment1/struct.c diff --git a/assignment1/struct.c b/assignment1/struct.c new file mode 100644 index 0000000..7f94943 --- /dev/null +++ b/assignment1/struct.c @@ -0,0 +1,11 @@ +#include + +typedef struct Cmd { + char* command; + char** args; + int read_from; + int write_to; + bool is_background; + bool is_internal; + struct Cmd* pipe_to; +} Cmd;