---
name: "al_get_native_file_dialog_count"
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_count"
---

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

Allegro 5 API

## NAME

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

## SYNOPSIS

-

  ```
  #include <allegro5/allegro_native_dialog.h>
  int al_get_native_file_dialog_count(const ALLEGRO_FILECHOOSER *dialog)
  ```

## DESCRIPTION

Returns the number of files selected, or 0 if the dialog was cancelled.
