Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

allegro_exit(3alleg4) [osx man page]

allegro_exit(3alleg4)						  Allegro manual					     allegro_exit(3alleg4)

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 program 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(3alleg4), allegro_init(3alleg4), destroy_bitmap(3alleg4), ex3d(3alleg4), exscn3d(3alleg4), exswitch(3alleg4), exxfade(3alleg4), exzbuf(3alleg4) Allegro version 4.4.2 allegro_exit(3alleg4)

Check Out this Related Man Page

allegro_exit(3alleg4)						  Allegro manual					     allegro_exit(3alleg4)

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 program 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(3alleg4), allegro_init(3alleg4), destroy_bitmap(3alleg4), ex3d(3alleg4), exscn3d(3alleg4), exswitch(3alleg4), exxfade(3alleg4), exzbuf(3alleg4) Allegro version 4.4.2 allegro_exit(3alleg4)
Man Page

12 More Discussions You Might Find Interesting

1. Linux

very strange problem

I have installed Fedora Core on a Toshiba Satellite Pro4600 laptop recently I have experienced a rather mysterious problem if I touch anything specially the keyboard or mouse I see this stuff “67yujhnmyyy” straight away some time it won't stop for while like this... (5 Replies)
Discussion started by: kemobyte
5 Replies

2. Programming

char array problem

hello i have a program in C (Unix - SOlaris5.7), and i have the next question: i have a lot of char variable, and i want store their values in a char array. The problem is what i don´t know how to put the char variable's value into the array, and i don`t know how to define the array please... (4 Replies)
Discussion started by: DebianJ
4 Replies

3. UNIX for Advanced & Expert Users

isql/dbisqlc problem

hi.. i have a big problem, and i hope you cand help me. i have a program in unix (program.sc). When i run this program manually works OK (including isql and dbisqlc instructions), but when i execute it from the crontab, it works, but the isql and dbisql instructions don't work. This is the... (1 Reply)
Discussion started by: DebianJ
1 Replies

4. UNIX for Dummies Questions & Answers

arithemetic problem

I am using a script which does a lot of math and I am facing a problem.One value is greater than 10 mi and the script converts it to exponents i.e 70000000 7e... and this is causing my statements to become invalid. This is what I used A=`expr "${total}-${FAC}"|bc` where $total and $FAC are... (9 Replies)
Discussion started by: anujairaj
9 Replies

5. AIX

Boot problem - 0c33

Hi Guys everyone know this problem on P595??? One of my servers, on boot, sleep 10-15 minute on led 0c33. I know that it's a console problem... but i don't understand how resolve it. Ideas??? P.S. Sorry for my english. Thanks. Zio (0 Replies)
Discussion started by: Zio Bill
0 Replies

6. Programming

function time

Hello I have problem with function 'time' to test my program for file copying . How to run the function in my source code ? I try something like that: system("time"); < -- but this don't working (2 Replies)
Discussion started by: scotty_123
2 Replies

7. AIX

SecureCRT problem

When I use SecureCRT software to connect with AIX servers, don't know why sessions always be kicked out from the SecureCRT if I don't do anything in a few minutes. I think this maybe the SecureCRT configuraiton problem, Who knows how to keep session conect even through I don't do anything? ... (3 Replies)
Discussion started by: rainbow_bean
3 Replies

8. UNIX for Dummies Questions & Answers

set -javahome????

hi guys I am basically installing a IBM software on a server but I really don't know linux and I am having a problem and I found the solution but I don't understand Resolving the problem * set -javahome switch to specify a path to the current java directory. - Doubt? * Set... (0 Replies)
Discussion started by: karlochacon
0 Replies

9. Programming

Problem with system("command")

Sorry, I don't speak English very well but I will try to explain my problem! If I write a C++ program and I use che system call system("command") I have this problem: If I would launch a program I do this: system("~/Agostino/program/test") and all work fine!! But if I divide this... (9 Replies)
Discussion started by: acciues
9 Replies

10. Ubuntu

problem with VMWare 7 1 4

Hi all I have a very big problem with ..... > VMWare Workstation 7.1.4 Closes abruptly >> If I do anything This video demonstrates the problem:: http://www.youtube.com/watch?v=n0OVSQY3LtI (0 Replies)
Discussion started by: aonallah
0 Replies

11. OS X (Apple)

I don't know how to put this, an Apple Audio HW bug?

Hi guys and gals... Apologies for any typos... Well I have a major problem and I don't know how to take it further so I need your advice AND help... Found from the AudioScope.sh calibration method(s)... I think I have found a HW bug in Apple gear... This has been checked so far on a... (7 Replies)
Discussion started by: wisecracker
7 Replies

12. SCO

Server problem

We have an old server that has failed to boot and I don't know how to fix it maybe someone here could point me in the right direction. I don't know anything about this operating system The person who used to fix it has passed on so any help would be great. I am uploading some screen shots to... (6 Replies)
Discussion started by: Jafwiz
6 Replies