al_make_directory(3)
π al_make_directory(3) β straight from the Library Functions Manual, bestie
Hi hi! This is the Allegro 5 API page for al_make_directory, and itβs lowkey a whole directory-making moment. β¨
π NAME π
al_make_directory β Allegro 5 API
β¨ SYNOPSIS β¨
#include <allegro5/allegro.h>
bool al_make_directory(const char *path)
π¦ DESCRIPTION π¦
Okay so al_make_directory creates a new directory on the filesystem. And the way itβs giving helpful? It also creates any parent directories as needed. Parent-dir situation: handled. Periodt. π
It returns true on success β and yes, that includes if the directory already exists, no cap. Otherwise it returns false on error. On error, it fills in Allegroβs errno to indicate the error. Thatβs the tea. π«Ά
π SEE ALSO π
al_get_errno(3)β go here when you need theerrnolore.
π Footer sign-off realness: source/version is the Allegro reference manual, and the footer icon is al_make_directory(3). Thereβs no date on this page, so Iβm not inventing one, bestie β mwah. π
π¦ 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