-

Difference between revisions of "Functions HI-TECH C EXIT"

From HI-TECH C for CP/M Fan WIKI(EN)
Jump to: navigation, search
(Created page with "<strong>EXIT</strong> ==SYNOPSIS== #include <stdlib.h> void exit(int status) ==DESCRIPTION== This call will close all open files and exit from the program. On...")
 
(No difference)

Latest revision as of 19:01, 31 July 2017

EXIT

SYNOPSIS

#include  <stdlib.h>

void      exit(int status)


DESCRIPTION

This call will close all open files and exit from the program. On CP/M, this means a return to CCP level. Status will be stored in a known place for examination by other programs. This is only useful if the program executing was actually invoked by another program which is trapping warm boots. The status value will be stored on CP/M at 80H. This call will never return.

SEE ALSO

atexit