al_set_path_filename(3alleg5)
β¨ al_set_path_filename β¨
okay bestie, welcome to the allegro5 manual, Allegro 5 API edition π this one's a lil function that goes by al_set_path_filename, and it's literally the glow-up your path object has been waiting for π«Ά
πΈ SYNOPSIS πΈ
#include <allegro5/allegro.h>
void al_set_path_filename(ALLEGRO_PATH *path, const char *filename)
no return value, no drama, just vibes β¨
π DESCRIPTION π
so the whole point of this function is setting the optional filename part of the path. that's it. that's the job. she's a setter, she sets π
and here's the tea, bestie: filename is allowed to be NULL, and if you do that? it's equivalent to setting the filename to the empty string. same thing, no cap. so don't stress about which one to pick, they're literally twins π
π₯ SEE ALSO π₯
al_set_path_extension(3alleg5) β when you wanna change the extension instead, iykykal_get_path_filename(3alleg5) β the reverse queen, she reads what you wrote π
reminder bestie: the facts above are the whole facts. this page is just serving them with a lil more personality than usual π
and that's a wrap, gorgeous π this was brought to you by the Allegro reference manual, and it's the al_set_path_filename(3alleg5) page, so you know exactly where you are. no date stamped on this one, so consider this your timeless lil sign-off πβ¨ mwah, go set some filenames π
π¦ where this page comes from
- debian trixie: allegro5-doc 2:5.2.10.1+dfsg-1 Β· Zlib
- ubuntu questing: allegro5-doc 2:5.2.10.1+dfsg-1build1
- ubuntu resolute: allegro5-doc 2:5.2.11.3+dfsg-1 Β· Zlib
- ubuntu stonking: allegro5-doc 2:5.2.11.3+dfsg-1 Β· Zlib
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms