al_drop_path_tail

void al_drop_path_tail(ALLEGRO_PATH *path)
Introduced in 5.0.0

Remove the last directory component, if any.

See also: al_remove_path_component

Examples: ex_path_test


Most helpful discussions: