al_get_path_filename(3)

al_get_path_filename3

Allegro 5 api

Usage

#include <allegro5/allegro.h>
const char *al_get_path_filename(const ALLEGRO_PATH *path)

Overview

Return the filename part of the path, or the empty string if there is none.

The returned pointer is valid only until the filename part of the path is modified in any way, or until the path is destroyed.

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