Table of Contents Previous topic Next topic
C COMPILER LIBRARY FUNCTION REFERENCE->Detailed Descriptions->exit()
Summary
#include <stdlib.h>
void exit(int status); Terminate program
Parameter
status An integer representing the exit status
Description
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.
Return
exit() is non-returning.