Provided by: allegro5-doc_5.0.10-2_all
NAME
al_read_directory - Allegro 5 API
SYNOPSIS
#include <allegro5/allegro.h> ALLEGRO_FS_ENTRY *al_read_directory(ALLEGRO_FS_ENTRY *e)
DESCRIPTION
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(3alleg5) on the returned entry when you are done with it.
SEE ALSO
al_open_directory(3alleg5), al_close_directory(3alleg5)