DOKK / manpages / debian 10 / allegro4-doc / pack_fclose_chunk.3alleg4.en
pack_fclose_chunk(3alleg4) Allegro manual pack_fclose_chunk(3alleg4)

pack_fclose_chunk - Closes a previously opened sub-chunk. Allegro game programming library.

#include <allegro.h>

PACKFILE *pack_fclose_chunk(PACKFILE *f);

Closes a sub-chunk of a file, previously obtained by calling pack_fopen_chunk().

Returns a pointer to the parent of the sub-chunk you just closed. Returns NULL if there was some error (eg. you tried to close a PACKFILE which wasn't sub-chunked).

pack_fopen_chunk(3alleg4)

version 4.4.2 Allegro