Table of Contents Previous topic Next topic
C COMPILER LIBRARY FUNCTION REFERENCE->Detailed Descriptions->exit()
void exit(int status); Terminate program
status An integer representing the exit status
A call to exit() terminates the program. In fact the function in the library is simply a jump to program address zero and so a call to exit() will restart the program.
exit() is non-returning.