|
Crinit -- Configurable Rootfs Init
|
Header declaring a mock function for scandir(). More...
#include <dirent.h>#include <sys/types.h>

Go to the source code of this file.
Functions | |
| int | __wrap_scandir (const char *dirp, struct dirent ***namelist, int(*filter)(const struct dirent *), int(*compar)(const struct dirent **, const struct dirent **)) |
Header declaring a mock function for scandir().
| int __wrap_scandir | ( | const char * | dirp, |
| struct dirent *** | namelist, | ||
| int(*)(const struct dirent *) | filter, | ||
| int(*)(const struct dirent **, const struct dirent **) | compar | ||
| ) |
Mock function for scandir().
Checks that the right parameters are given and return a preset value.