freebsd man page for end_of_main

Query: end_of_main

OS: freebsd

Section: 3alleg4

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

END_OF_MAIN(3alleg4)						  Allegro manual					      END_OF_MAIN(3alleg4)

NAME
END_OF_MAIN - Macro to put after your main() function. Allegro game programming library. SYNOPSIS
#include <allegro.h> Macro END_OF_MAIN() DESCRIPTION
In order to maintain cross-platform compatibility, you have to put this macro at the very end of your main function. This macro uses some `magic' to mangle your main procedure on platforms that need it like Windows, some flavours of UNIX or MacOS X. On the other platforms this macro compiles to nothing, so you don't have to #ifdef around it. Example: int main(void) { allegro_init(); /* more stuff goes here */ ... return 0; } END_OF_MAIN() SEE ALSO
Allegro version 4.4.2 END_OF_MAIN(3alleg4)
Related Man Pages
exrotscl(3alleg4) - debian
exrotscl(3alleg4) - suse
exsyscur(3alleg4) - opendarwin
exsyscur(3alleg4) - php
exsyscur(3alleg4) - osx
Similar Topics in the Unix Linux Community
problem with mutltiple fork()
Need explanation on Perl Fork
Message passing from child to parent using pipes
Match sum of values in each column with the corresponding column value present in trailer record
Simplify setter and getter of java class