al_change_directory(3) al_change_directory(3)

al_change_directory - Allegro 5 API

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

Changes the current working directory to `path'.

Returns true on success, false on error.

Allegro reference manual