Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Zortech C++ Language Reference - dos_free http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
                                 dos_free

   Usage
   include <dos.h>
   int dos_free(unsigned);

   Description
   Frees  (releases  back  to MSDOS) memory  which  has  been  previously
   allocated  with dos_alloc or dos_calloc. The argument is  the  segment
   address of the memory to be freed.

   Example
   See the example for dos_alloc.

   Return Value
   0 if the memory was sucessfully freed, otherwise -1.


See Also: Dos_package dos_alloc dos_calloc dos_setblock

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson