suse man page for pack_ferror

Query: pack_ferror

OS: suse

Section: 3alleg4

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

pack_ferror(3alleg4)						  Allegro manual					      pack_ferror(3alleg4)

NAME
pack_ferror - Tells if an error occurred during an operation on the stream. Allegro game programming library.
SYNOPSIS
#include <allegro.h> int pack_ferror(PACKFILE *f);
DESCRIPTION
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 cor- rectly the different situations.
RETURN VALUE
Returns nonzero if the error indicator for the stream is set, meaning that an error has occurred during a previous operation on the stream.
SEE ALSO
pack_fopen(3alleg4), pack_fopen_chunk(3alleg4) Allegro version 4.4.2 pack_ferror(3alleg4)
Related Man Pages
exrotscl(3alleg4) - opendarwin
exrotscl(3alleg4) - plan9
exrotscl(3alleg4) - redhat
exrotscl(3alleg4) - mojave
exrotscl(3alleg4) - osx
Similar Topics in the Unix Linux Community
Grant unprivileged user rights to see the output of echo|format but not modify disks
Update kernel Linux without reboot?!
SOCKS proxy &amp; PAM configuration exposure
Tar Command
The Future of the PM (Private Message) System at UNIX.com