pack_feof(3)
β¨ NAME β¨
pack_feof(3) β bestie, this is the manual page for pack_feof, and it is literally part of the Allegro game programming library π. It returns nonzero as soon as you reach the end of the file. That's the whole name vibe, no cap.
πΈ SYNOPSIS πΈ
Okay so here's how you summon it:
#include <allegro.h>
int pack_feof(PACKFILE *f);
π¦ DESCRIPTION π¦
So pack_feof finds out if you have reached the end of the file. The way it does this? It does not wait for you to attempt to read beyond the end of the file, contrary to the ISO C feof() function. It's giving proactive queen energy, not reactive π.
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. So like, watch out, bestie ππ.
π RETURN VALUE π
Returns non-zero if you are at the end of the file, zero otherwise. Periodt.
π SEE ALSO π
This iconic page comes from Allegro, version 4.4.3. Bye bestie, mwah π β¨
π¦ where this page comes from
- fedora 43: allegro-devel 4.4.3.1-18.fc43 Β· Giftware
- fedora 43: allegro-devel 4.4.3.1-18.fc43 Β· Giftware
- fedora 44: allegro-devel 4.4.3.1-20.fc44 Β· Giftware
- fedora 44: allegro-devel 4.4.3.1-20.fc44 Β· Giftware
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms