al_set_path_filename

void al_set_path_filename(ALLEGRO_PATH *path, const char *filename)
Introduced in 5.0.0

Set the optional filename part of the path. The filename may be NULL, which is equivalent to setting the filename to the empty string.

See also: al_set_path_extension, al_get_path_filename

Examples: ex_path_test


Most helpful discussions:

Other recent discussions: