ALLEGRO_FS_ENTRY *al_read_directory(ALLEGRO_FS_ENTRY *e)
Introduced in 5.0.0

Reads the next directory item and returns a filesystem entry for it.

Returns NULL if there are no more entries or if an error occurs. Call al_destroy_fs_entry on the returned entry when you are done with it.

See also: al_open_directory, al_close_directory

Examples: ex_dir, ex_physfs

Most helpful discussions:

Other recent discussions: