al_get_fs_entry_mode

uint32_t al_get_fs_entry_mode(ALLEGRO_FS_ENTRY *e)
Introduced in 5.0.0

Returns the entry's mode flags, i.e. permissions and whether the entry refers to a file or directory.

See also: al_get_errno, ALLEGRO_FILE_MODE

Examples: ex_dir, ex_physfs


Most helpful discussions: