-

Functions HI-TECH C EXIT

From HI-TECH C for CP/M Fan WIKI(EN)
Revision as of 19:01, 31 July 2017 by Kumokosi (talk | contribs) (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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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