al_get_path_filename(3)
al_get_path_filename(3) π
okay bestie, this page is from the Library Functions Manual β specifically the Allegro 5 API corner of the universe, and we're about to make path filename lore make sense. β¨
πΈ NAME πΈ
al_get_path_filename β Allegro 5 API. That's the whole name situation, periodt.
π¦ SYNOPSIS π¦
#include <allegro5/allegro.h>
const char *al_get_path_filename(const ALLEGRO_PATH *path)
π DESCRIPTION π
So this function returns the filename part of the path, or the empty string if there is none. That's it, that's the vibe.
β οΈ pointer tea: the returned pointer is valid only until the filename part of the path is modified in any way, or until the path is destroyed. Do not clutch that pointer forever, bestie β it's giving temporary. π
π SEE ALSO π
okay that's the page, bestie! π source/version tea: the Allegro reference manual β and the footer didn't include a date, so I'm not inventing one, periodt. π«Ά
π¦ where this page comes from
- arch rolling: allegro 5.2.11.3-2 Β· Zlib AND BSD-3-Clause AND OFL-1.1 AND LicenseRef-Custom
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms