al_drop_path_tail(3) al_drop_path_tail(3)

al_drop_path_tail - 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(3)

Allegro reference manual