al_get_path_drive(3)
π NAME π
Welcome to the Library Functions Manual, bestie β this is the page for al_get_path_drive(3), aka the Allegro 5 API function that pulls the drive letter out of a path. β¨
al_get_path_drive β Allegro 5 API π
β¨ SYNOPSIS β¨
#include <allegro5/allegro.h>
const char *al_get_path_drive(const ALLEGRO_PATH *path)
πΈ DESCRIPTION πΈ
Okay so al_get_path_drive returns the drive letter on a path, or the empty string if there is none. That's literally the whole vibe. π«Ά
The βdrive letterβ is only used on Windows, and it's usually a string like c:, but it may be something like \\Computer Name in the case of UNC (Uniform Naming Convention) syntax. Windows path lore, iykyk. πͺπ«
From the Allegro reference manual, page al_get_path_drive(3) β and thereβs no date on this footer, so consider it undated, bestie. π«Άπ
π¦ 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