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

# shutdown\_dialog(3alleg)

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**(3alleg)](/init_dialog/3alleg.md)
