pack_feof   (3alleg) manpage
pack_feof
3alleg
version 4.1.15 (CVS)
Allegro
Allegro manual
  • NAME
      pack_feof
  • SYNOPSIS
      #include <allegro.h>


      int pack_feof(PACKFILE *f);
  • DESCRIPTION
      pack_feof() returns nonzero as soon as you reach the end of the file. It does not wait for you to attempt to read beyond the end of the file, contrary to the ISO C feof() function. The only way to know whether you have read beyond the end of the file is to check the return value of the read operation you use (and be wary of pack_*getl() as EOF is also a valid return value with these functions).
  • SEE ALSO
      pack_fopen (3alleg), pack_fopen_chunk (3alleg), pack_ferror (3alleg)
Current Users: 46 © 1999-2006 Linux.com.hk PenguinSoft
All trademarks and copyrights on this page are owned by their respective companies. Linux is a trademark of Linus Torvalds.