Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
al_findnext(3)			Allegro	manual			al_findnext(3)

NAME
       al_findnext  -  Finds  the  next	 file  in a search started by al_find-
       first().	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().	 Exam-
       ple:

	  if (al_findfirst("*.pcx", &info, 0) != 0)
	     return;

	  do {
	     /*	Do something useful here with info.name. */
	  } while (al_findnext(&info) == 0);

	  al_findclose(&info);

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(3),	al_findclose(3)

Allegro				 version 4.4.2			al_findnext(3)

NAME | SYNOPSIS | DESCRIPTION | RETURN VALUE | SEE ALSO

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=al_findnext&sektion=3&manpath=FreeBSD+12.0-RELEASE+and+Ports>

home | help