pack_fclose_chunk(3)
β¨ pack_fclose_chunk(3) β¨
okay so we're in the Allegro manual, bestie, and this page is about closing a sub-chunk. It's giving file-handle cleanup, no cap. π
πΈ NAME πΈ
pack_fclose_chunk β closes a previously opened sub-chunk. Part of the Allegro game programming library, periodt. π
π¦ SYNOPSIS π¦
you pull in the header and call it like this, fr fr:
#include <allegro.h>
PACKFILE *pack_fclose_chunk(PACKFILE *f);
π DESCRIPTION π
okay so this function closes a sub-chunk of a file. Which sub-chunk? The one you previously obtained by calling pack_fopen_chunk(). That's the whole vibe. It's literally the "ok bye, chunk" button. β¨
π RETURN VALUE π
It returns a pointer to the parent of the sub-chunk you just closed. Like, you close the little chunk and get the parent back β main character energy. π
Returns NULL if there was some error (eg. you tried to close a PACKFILE which wasn't sub-chunked). So if you try to close something that isn't a sub-chunk, that's a no from the function. π
π SEE ALSO π
Allegro version 4.4.3, bestie β that's the source/version footer energy, and this page is pack_fclose_chunk(3). No date in the footer, just iconic manual vibes. π«Άπ
π¦ 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