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


      int pack_ferror(PACKFILE *f);
  • DESCRIPTION
  • RETURN VALUE
      Returns nonzero if the error indicator for the stream is set, indicating that an error has occurred during a previous operation on the stream.
      Since EOF is used to report errors by some functions, it's often better to use the pack_feof() function to check explicitly for end of file and pack_ferror() to check for errors. Both functions check indicators that are part of the internal state of the stream to detect correctly the different situations.
  • SEE ALSO
      pack_fopen (3alleg), pack_fopen_chunk (3alleg)
Current Users: 17 © 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.