Allegro 5 api
#include <allegro5/allegro.h> bool al_change_directory(const char *path)
Changes the current working directory to \[aq]path\[aq].
Returns true on success, false on error.