---
name: "flush_config_file"
section: "3alleg"
platform: "linux"
package: "liballegro-doc"
version: "2:4.2.2-2.2"
release: "Debian 6.0 (Squeeze)"
platforms: ["linux"]
url: "https://new.carta.tech/flush_config_file"
---

# flush\_config\_file(3alleg)

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**(3alleg)](/set_config_file/3alleg.md), [**override\_config\_file**(3alleg)](/override_config_file/3alleg.md), [**push\_config\_state**(3alleg)](/push_config_state/3alleg.md)
