DOKK / manpages / debian 12 / allegro5-doc / al_get_path_tail.3alleg5.en
al_get_path_tail(3alleg5) al_get_path_tail(3alleg5)

al_get_path_tail - Allegro 5 API

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

Returns the last directory component, or NULL if there are no directory components.

Allegro reference manual