Allegro 5 api
#include <allegro5/allegro.h> void al_drop_path_tail(ALLEGRO_PATH *path)
Remove the last directory component, if any.
al_remove_path_component(3alleg5)