al_get_native_file_dialog_path(3)

al_get_native_file_dialog_path3

Allegro 5 api

Usage

#include <allegro5/allegro_native_dialog.h>
const char *al_get_native_file_dialog_path(
   const ALLEGRO_FILECHOOSER *dialog, size_t i)

Overview

Returns one of the selected paths with index i. The index should range from 0 to the return value of al_get_native_file_dialog_count(3) -1.

Note: On Android, this function returns a content:// Universal Resource Identifier instead of a file path due to the constraints of Scoped Storage. Selected files may be accessed using al_android_open_fd(3).

From allegro 5.2.11.3-2 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.