|
Electronics Circuits &
Tutorials |
|
|
|
|
|
|
Home >
Electronics Tutorials >
C Language
Tutorial > stdlib.h -
Environment Functions -
exit |
C Language Programming Library
Reference Guide
|
stdlib.h -
Environment Functions -
exit
|
|
Declaration:
void exit(int status);
Causes the program to terminate normally. First the functions
registered by atexit are called, then all open streams are
flushed and closed, and all temporary files opened with tmpfile
are removed. The value of status is returned to the
environment. If status is EXIT_SUCCESS ,
then this signifies a successful termination. If status
is EXIT_FAILURE , then this signifies an
unsuccessful termination. All other values are
implementation-defined.
No return is possible.
|
|
|
Note: To report broken links or to submit your projects,
tutorials please email to Webmaster |
|
|
|
|
Copyright ©
1999-2020
www.hobbyprojects.com
(All rights reserved) |
|