al_make_directory(3)

al_make_directory3

Allegro 5 api

Usage

#include <allegro5/allegro.h>
bool al_make_directory(const char *path)

Overview

Creates a new directory on the filesystem. This function also creates any parent directories as needed.

Returns true on success (including if the directory already exists), otherwise returns false on error. Fills in Allegro’s errno to indicate the error.

From allegro 5.2.11.3-2 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.