Add recursive scanning
[erinaco.git] / dirent.h
blob1496f337578d32fe943de49378ecb30989b87a08
1 /* include <dirent.h> */
2 /* include <stdbool.h> */
4 static inline bool dirent_directory_p(const struct dirent *d)
6 return d->d_type == DT_DIR;
9 static inline bool dirent_regular_p(const struct dirent *d)
11 return d->d_type == DT_REG;