Displaying ./code/shellv4/main.c
//our own header
#include "shell.h"
int main(int argc, char **argv){
char **args = NULL;
//prints a welcome message
printf("Welcome to My Shell!\n");
shell_curtime(args);
//put config files here
run_shell();
//perform shutdown stuff here
printf("Bye\n");
return 0;
}
|