DOKK / manpages / debian 11 / allegro5-doc / al_close_directory.3alleg5.en
al_close_directory(3alleg5) al_close_directory(3alleg5)

al_close_directory - Allegro 5 API

#include <allegro5/allegro.h>
bool al_close_directory(ALLEGRO_FS_ENTRY *e)
    

Closes a previously opened directory entry object.

Returns true on success, false on failure and fills in Allegro’s errno to indicate the error.

al_open_directory(3alleg5), al_read_directory(3alleg5)

Allegro reference manual