al_get_native_file_dialog_count(3) al_get_native_file_dialog_count(3)

al_get_native_file_dialog_count - Allegro 5 API

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

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

Allegro reference manual