[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
keep() Exit and Remain Resident
#include <dos.h>
void keep(status,size);
int status; Exit status
int size; Program size in paragraphs
keeps() uses DOS function 0x31 to return to MS-DOS with the exit
status in 'status'. The current program remains resident. The
program is set to 'size' paragraphs in length and the remainder of
the memory of the program is freed.
Returns: There is no return value.
Notes: keep() can be used when installing a TSR program.
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson