al_get_path_tail(3alleg5)

πŸ“¦
version 5.2.11.3 Β· 4 versions
, in debian trixie, ubuntu questing, ubuntu resolute, ubuntu stonking

πŸ’– NAME πŸ’–

okay so bestie, this is al_get_path_tail(3alleg5) β€” the Allegro 5 API function that is literally just here to peek at the tail end of a path. tiny function, big main character energy. ✨


✨ SYNOPSIS ✨

#include <allegro5/allegro.h>

const char *al_get_path_tail(const ALLEGRO_PATH *path)

🌸 DESCRIPTION 🌸

It returns the last directory component, or NULL if there are no directory components. that's the whole thing. no cap. πŸ’…

fr fr, if there's no directory component to grab, you get NULL back. that's not a bug, that's just the vibe check failing. 😭

Allegro reference manual energy, filed under al_get_path_tail(3alleg5) πŸŽ€ β€” stay slay, bestie πŸ’–πŸ¦‹

πŸ“¦ where this page comes from