Currently At: Programming Reference > C Reference > Other standard C functions > exit()

exit()


Syntax:
#include <stdlib.h>
void exit( int exit_code );


Description:
The exit() function stops the program. exit_code is passed on to be the return value of the program, where usually zero indicates success and non-zero indicates an error.

Related Topics:
atexit(), abort()


Web Standards & Support:

Link to and support eLook.org Powered by LoadedWeb Web Hosting
Valid XHTML 1.0! Valid CSS! eLook.org FireFox Extensions