al_create_path_for_directory - Allegro 5 API
#include <allegro5/allegro.h> ALLEGRO_PATH *al_create_path_for_directory(const char *str)
This is the same as al_create_path(3alleg5), but interprets the passed string as a directory path. The filename component of the returned path will always be empty.
|Allegro reference manual|