al_destroy_fs_entry

void al_destroy_fs_entry(ALLEGRO_FS_ENTRY *fh)
Introduced in 5.0.0

Destroys a fs entry handle. The file or directory represented by it is not destroyed. If the entry was opened, it is closed before being destroyed.

Does nothing if passed NULL.

Examples: ex_dir, ex_physfs


Most helpful discussions:

Other recent discussions: