---
name: "al_get_native_file_dialog_path"
section: "3"
platform: "linux"
package: "allegro"
version: "5.2.11.3-2"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/al_get_native_file_dialog_path"
---

# al\_get\_native\_file\_dialog\_path(3)

Allegro 5 API

## NAME

al\_get\_native\_file\_dialog\_path - Allegro 5 API

## SYNOPSIS

-

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

## DESCRIPTION

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)](/al_get_native_file_dialog_count/3.md) `-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)](/al_android_open_fd/3.md).
