| programming - linux - opendir readdir closedir | What links here? |
/* * This program displays the names of all files in the current directory. */
- include <dirent.h>
- include <stdio.h>
int main(void) { DIR *d; struct dirent *dir; d = opendir("."); if (d) { while ((dir = readdir(d)) != NULL) { printf("%s\n", dir->d_name); }
closedir(d); }
return(0); }
| filename: | programming - linux - opendir readdir closedir |
| filename: | programming%20%2D%20linux%20%2D%20opendir%20readdir%20closedir |
| last edit: | March 23 2013 14:37:12 (-3925928 minutes ago) |
| ct | = 1128508130.000000 = October 05 2005 06:28:50 |
| ft | = 1364063832.000000 = March 23 2013 14:37:12 |
| dt | = -235555702.000000 |