exit or exit(status);
EXIT closes all currently open files and returns control to the operating system. It is implicitly called when the procedure "main" terminates, but may be called by the user directly rather than using a "goto" to the end of "main".
Copyright © 1996, Thinkage Ltd.