Query: pack_feof
OS: netbsd
Section: 3alleg4
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
pack_feof(3alleg4) Allegro manual pack_feof(3alleg4)NAMEpack_feof - Returns nonzero as soon as you reach the end of the file. Allegro game programming library.SYNOPSIS#include <allegro.h> int pack_feof(PACKFILE *f);DESCRIPTIONFinds out if you have reached 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 oper- ation you use (and be wary of pack_*getl() as EOF is also a valid return value with these functions).RETURN VALUEReturns non-zero if you are at the end of the file, zero otherwise.SEE ALSOpack_fopen(3alleg4), pack_fopen_chunk(3alleg4), pack_ferror(3alleg4) Allegro version 4.4.2 pack_feof(3alleg4)
Related Man Pages |
---|
exrotscl(3alleg4) - centos |
exrotscl(3alleg4) - php |
exrotscl(3alleg4) - opendarwin |
exrotscl(3alleg4) - linux |
exrotscl(3alleg4) - v7 |
Similar Topics in the Unix Linux Community |
---|
sorting left-justified numeric values |
Memory Leaks |
NetBSD 6.1.2: apm and admd not found |
RFC - Korn shell prompt |
BSD Unix Toolbox: 1000+ Commands for FreeBSD, OpenBSD, and NetBSD |