|
|
1.1 root 1: #include <sys/types.h>
2: #include <ndir.h>
3:
4: main()
5: {
6: DIR *dirf;
7: struct direct *e;
8:
9: if(dirf = opendir("."))
10: while(e = readdir(dirf))
11: printf("%s\n", e->d_name);
12: exit(0);
13: }
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.