pish/src/Integrated.c

14 lines
357 B
C
Raw Normal View History

#include <stdlib.h>
#include "Integrated.h"
// Checks for commands that are built into Pish
void IntegratedCheck(char* command)
{
if (command == "exit")
exit(0);
// If there is an argument, change to argument location
// Else, change to home directory
if (command[0] == 'c' && command[1] == 'd')
;
return;
}