---
name: "flush_config_file"
section: "3alleg4"
platform: "linux"
package: "allegro4-doc"
version: "2:4.4.3.1-5"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/flush_config_file/3alleg4"
---

# flush\_config\_file(3alleg4)

Flushes the current config file to disk. Allegro game programming library.

## NAME

flush\_config\_file - Flushes the current config file to disk. Allegro game programming library.

## SYNOPSIS

**#include \<allegro.h\>**

**void flush\_config\_file();**

## DESCRIPTION

Writes the current config file to disk if the contents have changed  since it was loaded or since the latest call to the function.

## SEE ALSO

**set\_config\_file**(3alleg4), **override\_config\_file**(3alleg4), **push\_config\_state**(3alleg4)
