O'Reilly logo
  • Ivan Petrov thinks this is interesting:

DIR *opendir(const char *name); Open a directory for reading struct dirent *readdir(DIR *dir); Return one struct dirent at a time int closedir(DIR *dir); Close an open directory void rewinddir(DIR *dirp); Return to the front of a directory


Cover of Linux® Programming by Example


fucntion to read directories