freemen() Free a Previously Allocated DOS Memory Block
#include <dos.h>
int freemem(seg);
unsigned seg; Segment address
freemem() frees a memory block allocated by a previous call to
allocmem(). 'seg' is the segment address of that block.
Returns: freemem() returns 0 on success. On error, -1 is returned
and 'errno' (defined in <stdlib.h>) is set to ENOMEM
(insufficient memory).
Seealso:
This page last updated on Fri Nov 30 10:48:32 MSK 2001
Copyright © 1992-2001, Vitaly Filatov, Moscow, Russia
Webmaster