al_get_path_drive(3)

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

πŸŽ€ 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