Programming, System Programming, Win32, C.
ChDirProc(void); void ExitProc(void); /* Global Data Definitions */ char g_cmd[MAX_CMD_LINE]; char *g_params[MAX_CMD_PARAMS]; int g_nparams; CMD g_cmds[] = { {"dir", DirProc}, {"cls", ClsProc}, {"cd", ChDirProc}, {"exit", ExitProc}, {NULL, NULL}, }; /* Function Definitions */ int main(void) { char