Programming, System Programming, Win32, C.
return; } if (g_nparams > 2) { printf("too many arguments..\n\n"); return; } if (!GetEnvironmentVariable(g_params[1], buf, 1024)) { PrintSysErr(); return; } printf("%s\n\n", buf); } void SetEnvProc(void) { if (g_nparams == 1) { printf("argument missing...\n\n"); return; } if (g_nparams > 3) {