Terminate the program.
void __fastcall__ exit (int status);
exitterminates the program. The argument specifies the return code of the program. Before termination, all files are closed, buffered output is written and any functions registered with
atexitare called. Common values for status are
EXIT_FAILUREwhich are also defined in
- The function is only available as fastcall function, so it may only be used in presence of a prototype.
- It depends on the host machine if the program return code can be evaluated or is ignored.
- See also