Return segment to OS
Henry Spencer
henry at zoo.toronto.edu
Tue Apr 23 10:31:26 AEST 1991
In article <1991Apr22.100300.1367 at mdcbbs.com> gd010gd02 at mdcbbs.com writes:
> It appears that the memory requested from the operating
> system by malloc() is never released even after all the
> entries in the allocated segment have been free()'ed
> Does anyone know of a "safe" way of returning a segment
> to the operating system?
Which operating system? There is certainly no *portable* way of doing this,
so you would be better off asking this question in an operating-system group
like comp.os.msdos.programmer.
--
And the bean-counter replied, | Henry Spencer @ U of Toronto Zoology
"beans are more important". | henry at zoo.toronto.edu utzoo!henry
More information about the Comp.lang.c
mailing list