al_open_directory man page

al_open_directory — Allegro 5 API

Synopsis

#include <allegro5/allegro.h>

bool al_open_directory(ALLEGRO_FS_ENTRY *e)

Description

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

Returns true on success.

See Also

al_read_directory(3), al_close_directory(3)

Referenced By

al_close_directory(3), al_read_directory(3).

Allegro reference manual