al_close_directory

bool al_close_directory(ALLEGRO_FS_ENTRY *e)
Introduced in 5.0.0

Closes a previously opened directory entry object.

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

See also: al_open_directory, al_read_directory

Examples: ex_dir, ex_physfs


Most helpful discussions: