---
name: "al_load_config_file"
section: "3alleg5"
platform: "linux"
package: "allegro5-doc"
version: "2:5.2.10.1+dfsg-1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/al_load_config_file/3alleg5"
---

# al\_load\_config\_file(3alleg5)

Allegro 5 API

## NAME

al\_load\_config\_file - Allegro 5 API

## SYNOPSIS

-

  ```
  #include <allegro5/allegro.h>
  ALLEGRO_CONFIG *al_load_config_file(const char *filename)
  ```

## DESCRIPTION

Read a configuration file from disk. Returns NULL on error. The configuration structure should be destroyed with al\_destroy\_config(3alleg5).

## SEE ALSO

al\_load\_config\_file\_f(3alleg5), al\_save\_config\_file(3alleg5)
