DOKK / manpages / debian 10 / allegro5-doc / al_create_path_for_directory.3alleg5.en
al_create_path_for_directory(3alleg5) al_create_path_for_directory(3alleg5)

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.

al_create_path(3alleg5), al_destroy_path(3alleg5)

Allegro reference manual