al_create_path(3alleg5)

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

πŸ’– NAME πŸ’–

al_create_path β€” Allegro 5 API. This page is from the Allegro reference manual, al_create_path(3alleg5) section, and it's literally about making a path structure out of a string, periodt. πŸ’…

✨ SYNOPSIS ✨

#include <allegro5/allegro.h>

ALLEGRO_PATH *al_create_path(const char *str)

πŸ¦‹ DESCRIPTION πŸ¦‹

Okay so bestie, al_create_path creates a path structure from a string. ✨

The last component β€” if it is followed by a directory separator and is neither . nor .. β€” gets treated as the last directory name in the path. Otherwise, that last component gets treated as the filename. 🌸

And yes, the string may be NULL for an empty path. No cap. πŸ’–

πŸ‘‘ SEE ALSO πŸ‘‘


that's the whole vibe, bestie! Source/version: Allegro reference manual, al_create_path(3alleg5). There's no date on this footer, so we're not making one up β€” fr fr. 🫢

πŸ“¦ where this page comes from