al_rebase_path(3alleg5)
π NAME π
okay so this is al_rebase_path(3alleg5) from the Allegro 5 API β and it's giving path-gluing main character energy. π«Ά
β¨ SYNOPSIS β¨
#include <allegro5/allegro.h>
bool al_rebase_path(const ALLEGRO_PATH *head, ALLEGRO_PATH *tail)
πΈ DESCRIPTION πΈ
bestie, listen: al_rebase_path concatenates two path structures, and it modifies the second path structure. So head is the first one, tail is the second one, and tail is the one catching the glow-up. π
β οΈ If tail is an absolute path, this function does nothing. It just sits there. No cap.
Otherwise, the drive and path components in head are inserted at the start of tail. π
For example, if head is /anchor/ and tail is data/file.ext, then after the call tail becomes /anchor/data/file.ext. iconic, honestly. β¨
π₯ SEE ALSO π₯
al_join_paths(3alleg5)β go say hi, bestie. π
this page came from the Allegro reference manual β Allegro 5, al_rebase_path(3alleg5) β and the footer didn't stamp a date on it, so that's the whole tea. periodt. π
π¦
π¦ 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