al_get_pat...components(3)

πŸ“¦
version 5.2.11.3 Β· 3 versions
, in arch rolling

πŸŽ€ NAME πŸŽ€

al_get_path_num_components β€” Allegro 5 API

Okay so this al_get_pat...components(3) page is from the Library Functions Manual, and it's here to explain one very specific little path-counting queen πŸ’…


✨ SYNOPSIS ✨

#include <allegro5/allegro.h>

int al_get_path_num_components(const ALLEGRO_PATH *path)

πŸ¦‹ DESCRIPTION πŸ¦‹

She returns the number of directory components in a path 🫢

And bestie, listen: the directory components do not include the final part of a path β€” aka the filename πŸ™ˆ So don't count the filename, no cap.


πŸ’œ SEE ALSO πŸ’œ


mwah πŸ’‹ this page is from the Allegro reference manual β€” version/date vibe was not listed in the footer, so she's giving mysterious main-character energy πŸŒΈπŸ¦‹

πŸ“¦ 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