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 last updated on Fri Nov 30 10:48:32 MSK 2001
Copyright © 1992-2001, Vitaly Filatov, Moscow, Russia
Webmaster