scandir
int scandir(const char *, struct dirent ***, int (*)(const struct dirent *),
int scandir(const char *, struct dirent ***, int (*)(struct dirent *),
PROTO_DEPRECATED(scandir);
pos = scandir(path1, &dirp1, selectfile, alphasort);
pos = scandir(path2, &dirp2, selectfile, alphasort);
if ((nitems = scandir(".", &files, iscf, NULL)) < 0)
nitems = scandir(SD, &queue, doselect, sortq);