al_get_pat...components(3)
π 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 π
al_get_path_component(3)β the related icon over here β¨
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