al_feof man page on DragonFly

Man page or keyword search:  
man Server   44335 pages
apropos Keyword Search (all sections)
Output format
DragonFly logo
[printable version]

al_feof(3)							    al_feof(3)

NAME
       al_feof - Allegro 5 API

SYNOPSIS
	      #include <allegro5/allegro.h>

	      bool al_feof(ALLEGRO_FILE *f)

DESCRIPTION
       Returns	true  if  the  end-of-file indicator has been set on the file,
       i.e.  we have attempted to read past the end of the file.

       This does not return true if we simply are at the end of the file.  The
       following  code	correctly reads two bytes, even when the file contains
       exactly two bytes:

	      int b1 = al_fgetc(f);
	      int b2 = al_fgetc(f);
	      if (al_feof(f)) {
		 /* At least one byte was unsuccessfully read. */
		 report_error();
	      }

SEE ALSO
       al_ferror(3), al_fclearerr(3)

Allegro reference manual					    al_feof(3)
[top]

List of man pages available for DragonFly

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net