al_read_directory(3alleg5)

al_read_directory3alleg5

Allegro 5 api

Usage

#include <allegro5/allegro.h>
ALLEGRO_FS_ENTRY *al_read_directory(ALLEGRO_FS_ENTRY *e)

Overview

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.

This function will ignore any files or directories named . or .. which may exist on certain platforms and may signify the current and the parent directory.

Releases

6 releases since Debian 8 (Jessie); the text changed 5 times.

  1. 8
  2. 9
  3. 10
  4. 11
  5. 12
  6. 13

From allegro5-doc 2:5.2.10.1+dfsg-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.