// Umgebungsvariable "LOGONSERVER" ermitteln #include #include //------------------------------------------------------------------ int main(void) { char* env; env = getenv("LOGONSERVER"); if ( env ) { printf("variable: %s\n",env); } else { printf("getenv() failed\n"); exit(1); } return 0; }