Library: stdlib.h
Prototype: void exit(int status);
Syntax:
main()
{
exit(0); /* Clean exit */
}
As a general rule, a zero exit code indicates a program that has completed without error. A negative or positve value indicates an error.
return keyword.
atexit function.
abort function.
| Top | Master Index | Keywords | Functions |