al_open_directory

bool al_open_directory(ALLEGRO_FS_ENTRY *e)
Introduced in 5.0.0

Opens a directory entry object. You must call this before using al_read_directory on an entry and you must call al_close_directory when you no longer need it.

Returns true on success.

See also: al_read_directory, al_close_directory

Examples: ex_dir, ex_physfs


Most helpful discussions:

Other recent discussions: