---
name: "ggiFlush"
section: "3ggi"
platform: "linux"
package: "libggi2-dev"
version: "1:2.0.1-2"
release: "Debian 3.0 (Woody)"
platforms: ["linux"]
url: "https://new.carta.tech/ggiFlush/3ggi"
---

# ggiFlush(3ggi)

Flush pending output

## NAME

ggiFlush, ggiFlushRegion - Flush pending output

## SYNOPSIS

**#include \<ggi/ggi.h\>**

**int ggiFlush(ggi\_visual\_t** *vis***);**

**int ggiFlushRegion(ggi\_visual\_t** *vis***,**  **int** *x***, int** *y***,**  **int** *w***, int** *h***);** .SH "DESCRIPTION"

**ggiFlush** waits for the visual to finish pending accelerator commands, and in some targets, it refreshes the framebuffer.

**ggiFlushRegion** performs the flush function  only in the specified region if it would improve performance.

These functions are not needed if the visual is in synchronous mode.

## RETURN VALUE

No meaningful return value.

## SEE ALSO

[**ggiSetFlags**(3)](/ggiSetFlags/3.md)
