al_read_directory
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
Most helpful discussions:
- How to get all files in a directory with A5 (2)
- [A5] al_filename_exists() can't see file. (1)
- Check if entry is a folder
- Video playback issues
- [A5] al_read_directory() odd behavior
- Just bored... ;)
- Crash in iOS simulator iOS 8 when rotating screen left
- [A5] for_each_file - missing
- al_create_fs_entry not working second time after calling destructor
- al_get_path_tail changes in 5.1.5?
Other recent discussions: