allegro_exit man page on DragonFly

Man page or keyword search:  
man Server   44335 pages
apropos Keyword Search (all sections)
Output format
DragonFly logo
[printable version]

allegro_exit(3)			Allegro manual		       allegro_exit(3)

NAME
       allegro_exit - Closes down the Allegro system.

SYNOPSIS
       #include <allegro.h>

       void allegro_exit();

DESCRIPTION
       Closes  down  the Allegro system. This includes returning the system to
       text mode and removing whatever mouse,  keyboard,  and  timer  routines
       have  been  installed.  You  don't  normally  need  to bother making an
       explicit call to this function, because allegro_init() installs	it  as
       an  atexit()  routine so it will be called automatically when your pro‐
       gram exits.

       Note  that  after  you  call  this  function,  other   functions	  like
       destroy_bitmap()	 will  most  likely  crash.  This is a problem for C++
       global destructors, which usually get called after atexit(),  so	 don't
       put Allegro calls in them. You can write the destructor code in another
       method which you can manually call before your program exits,  avoiding
       this problem.

SEE ALSO
       install_allegro(3),    allegro_init(3),	 destroy_bitmap(3),   ex3d(3),
       exscn3d(3), exswitch(3), exxfade(3), exzbuf(3)

Allegro				 version 4.4.2		       allegro_exit(3)
[top]

List of man pages available for DragonFly

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net