Programming, System Programming, Win32, C.
*g_params[MAX_CMD_PARAMS]; int g_nparams; CMD g_cmds[] = { {"dir", DirProc}, {"cls", ClsProc}, {"cd", ChDirProc}, {"getenv", GetEnvProc}, {"setenv", SetEnvProc}, {"exit", ExitProc}, {NULL, NULL}, }; /* Function Definitions */ int main(void) { char cwd[1024]; int i; for (;;) { if