Add assignment 1 struct hint

This commit is contained in:
Akemi Izuko 2024-09-24 19:36:42 -06:00
parent 207c258ddb
commit e597100f71
Signed by: akemi
GPG key ID: 8DE0764E1809E9FC

11
assignment1/struct.c Normal file
View 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;