LICK
 All Data Structures Files Functions Variables Enumerations Enumerator
scandir.h
Go to the documentation of this file.
1 
6 #pragma once
7 
8 #include <dirent.h>
9 
10 int alphasort2(const struct dirent **a, const struct dirent **b);
11 int antialphasort2(const struct dirent **a, const struct dirent **b);
21 int scandir2(const char *path, struct dirent ***e,
22  int (*filter)(const struct dirent *),
23  int (*compare)(const struct dirent **, const struct dirent **));
35 int scandir_full_path(const char *path, struct dirent ***e,
36  int (*filter)(const char *),
37  int (*compare)(const struct dirent **, const struct dirent **));
int scandir_full_path(const char *path, struct dirent ***e, int(*filter)(const char *), int(*compare)(const struct dirent **, const struct dirent **))
scan a directory, returning relevant files. List scandir2, but filters using the full path of the fil...
Definition: scandir.c:79
int scandir2(const char *path, struct dirent ***e, int(*filter)(const struct dirent *), int(*compare)(const struct dirent **, const struct dirent **))
scan a directory, returning relevant files
Definition: scandir.c:73