1al_read_directory(3) al_read_directory(3)
2
3
4
6 al_read_directory - Allegro 5 API
7
9 #include <allegro5/allegro.h>
10
11 ALLEGRO_FS_ENTRY *al_read_directory(ALLEGRO_FS_ENTRY *e)
12
14 Reads the next directory item and returns a filesystem entry for it.
15
16 Returns NULL if there are no more entries or if an error occurs. Call
17 al_destroy_fs_entry(3) on the returned entry when you are done with it.
18
19 This function will ignore any files or directories named . or .. which
20 may exist on certain platforms and may signify the current and the par‐
21 ent directory.
22
24 al_open_directory(3), al_close_directory(3)
25
26
27
28Allegro reference manual al_read_directory(3)