---
name: "al_fflush"
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_fflush/3alleg5"
---

# al\_fflush(3alleg5)

Allegro 5 API

## NAME

al\_fflush - Allegro 5 API

## SYNOPSIS

-

  ```
  #include <allegro5/allegro.h>
  bool al_fflush(ALLEGRO_FILE *f)
  ```

## DESCRIPTION

Flush any pending writes to the given file.

Returns true on success, false otherwise. errno is set to indicate the error.

## SEE ALSO

al\_get\_errno(3alleg5)
