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

# shutdown\_dialog(3alleg4)

Destroys a dialog player returned by init\_dialog(). Allegro game programming library.

## NAME

shutdown\_dialog - Destroys a dialog player returned by init\_dialog(). Allegro game programming library.

## SYNOPSIS

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

**int shutdown\_dialog(DIALOG\_PLAYER \*player);**

## DESCRIPTION

Destroys a dialog player object returned by init\_dialog(), returning the  object that caused it to exit (this is the same as the return value from  do\_dialog()).

## SEE ALSO

**init\_dialog**(3alleg4)
