---
name: "d_clear_proc"
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/d_clear_proc/3alleg4"
---

# d\_clear\_proc(3alleg4)

Dialog procedure to clear the screen. Allegro game programming library.

## NAME

d\_clear\_proc - Dialog procedure to clear the screen. Allegro game programming library.

## SYNOPSIS

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

**int d\_clear\_proc(int msg, DIALOG \*d, int c);**

## DESCRIPTION

This just clears the screen when it is drawn. Useful as the first object  in a dialog.

## SEE ALSO

**excustom**(3alleg4), **exgui**(3alleg4)
