exit()

Syntax

  #include <stdlib.h>

  
  void exit(int status);

  
Description

exit() terminates the program normally. It does the following, in this order:

exit() ignores the status argument.

See also

abort()