|
|
1.1 ! root 1: #include <stdio.h> ! 2: ! 3: main() ! 4: { ! 5: char *env; ! 6: extern char *getenv(); ! 7: ! 8: if ((env = getenv("PATH")) == NULL) { ! 9: printf("Sorry, cannot find PATH\n"); ! 10: exit(1); ! 11: } ! 12: printf("PATH = %s\n", env); ! 13: exit(0); ! 14: }
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.