shutdown_menu(3) Allegro manual shutdown_menu(3)NAMEshutdown_menu - Destroys a menu player object returned by init_menu().
Allegro game programming library.
SYNOPSIS
#include <allegro.h>
int shutdown_menu(MENU_PLAYER *player);
DESCRIPTION
Destroys a menu player object returned by init_menu(), returning the
index of the menu item that was selected, or -1 if the menu was can‐
celled (this is the same as the return value from do_menu()).
SEE ALSOinit_menu(3), update_menu(3)Allegro version 4.4.2 shutdown_menu(3)