Large commit: Added reset function for CommandStruct, added reading from ~/.pishrc, and fixed running command in fork

This commit is contained in:
2022-10-27 00:25:40 -05:00
parent 68e9985c18
commit 8a1ac21a5c
7 changed files with 58 additions and 21 deletions
+2
View File
@@ -6,4 +6,6 @@ typedef struct CommandStruct {
int argc;
} CommandStruct;
void ResetCommandStruct(CommandStruct* command);
#endif
+1
View File
@@ -4,5 +4,6 @@
#include "Common.h"
void IntegratedCheck(char* command);
void ReadPishrc(void);
#endif
-1
View File
@@ -4,7 +4,6 @@
#include "Common.h"
void Pish(void);
void Execute(char* command);
void GetInput(char* inputString);
void ParseInput(char* inputString, CommandStruct* command);