al_findnext

Finds the next file in a search started by al_findfirst().

Description

int al_findnext(struct al_ffblk *info);
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);
Returns zero if a match is found, non-zero if none is found or if an error occurred and, in the latter case, sets errno accordingly.

Related Discussions

The following threads each have code containing this keyword: Note: You can click on the numbers to jump directly to the posts that reference this page.

Related Projects

The following projects include source code containing this keyword: