al_make_directory - Allegro 5 API
Contents
Description
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.
Name
al_make_directory - Allegro 5 API
See Also
al_get_errno(3alleg5) Allegro reference manual al_make_directory(3alleg5)
Synopsis
#include <allegro5/allegro.h>
bool al_make_directory(const char *path)
