al_create_path_for_directory

ALLEGRO_PATH *al_create_path_for_directory(const char *str)
Introduced in 5.0.0

This is the same as al_create_path, but interprets the passed string as a directory path. The filename component of the returned path will always be empty.

See also: al_create_path, al_destroy_path


Most helpful discussions:

Other recent discussions: