.\" Automatically generated by Pandoc 3.1.3 .\" .\" Define V font for inline verbatim, using C font in formats .\" that render this, and otherwise B font. .ie "\f[CB]x\f[]"x" \{\ . ftr V B . ftr VI BI . ftr VB B . ftr VBI BI .\} .el \{\ . ftr V CR . ftr VI CI . ftr VB CB . ftr VBI CBI .\} .TH "al_read_directory" "3alleg5" "" "Allegro reference manual" "" .hy .SH NAME .PP al_read_directory - Allegro 5 API .SH SYNOPSIS .IP .nf \f[C] #include ALLEGRO_FS_ENTRY *al_read_directory(ALLEGRO_FS_ENTRY *e) \f[R] .fi .SH DESCRIPTION .PP Reads the next directory item and returns a filesystem entry for it. .PP 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. .PP This function will ignore any files or directories named \f[V].\f[R] or \f[V]..\f[R] which may exist on certain platforms and may signify the current and the parent directory. .SH SEE ALSO .PP al_open_directory(3alleg5), al_close_directory(3alleg5)