al_findnext (3) Linux Manual Page
al_findnext – Finds the next file in a search started by al_findfirst(). Allegro game programming library.
Synopsis
#include <allegro.h> int al_findnext(struct al_ffblk *info);
Description
This finds the next file in a search started by al_findfirst(). Example:
if (al_findfirst("*.pcx", &info, 0) != 0)
return;
do {
/* Do something useful here with info.name. */
} while (al_findnext(&info) == 0);
al_findclose(&info);
