logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

al_findnext - Finds the next file in a search started by al_findfirst(). Allegro game programming

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);

Name

       al_findnext  -  Finds  the  next  file  in  a  search started by al_findfirst(). Allegro game programming
       library.

Return Value

       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.

See Also

al_findfirst(3alleg4), al_findclose(3alleg4)

Allegro                                           version 4.4.3                             al_findnext(3alleg4)

Synopsis

#include<allegro.h>intal_findnext(structal_ffblk*info);

See Also