al_get_path_tail

const char *al_get_path_tail(const ALLEGRO_PATH *path)
Introduced in 5.0.0

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

Examples: ex_path_test


Most helpful discussions: