|
NetSurf
|
directory traversal and entry More...
Go to the source code of this file.
Functions | |
| int | alphasort (const struct dirent **d1, const struct dirent **d2) |
| int | scandir (const char *dir, struct dirent ***namelist, int(*sel)(const struct dirent *), int(*compar)(const struct dirent **, const struct dirent **)) |
directory traversal and entry
This allows the obtaining of standard directory entry routines functions in a uniform way despite any oddities in headers and supported API between OS.
Definition in file dirent.h.
| int alphasort | ( | const struct dirent ** | d1, |
| const struct dirent ** | d2 | ||
| ) |
Definition at line 184 of file os3support.c.
| int scandir | ( | const char * | dir, |
| struct dirent *** | namelist, | ||
| int(*)(const struct dirent *) | sel, | ||
| int(*)(const struct dirent **, const struct dirent **) | compar | ||
| ) |
Definition at line 190 of file os3support.c.
References compar().
Referenced by fetch_file_process_dir().