EasyManuals Logo

Texas Instruments TMS34010 Reference Guide

Texas Instruments TMS34010
181 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #130 background imageLoading...
Page #130 background image
Reset
Dynamic
Memory
Pool
minit
Syntax
#include
<stdlib.h>
void
minit()
Defined
in
memory.
c in
rts.
src
Description
The minit function resets all the space that was previously allocated by calls
to
themalloc.calloc.
or realloc functions.
Note:
Calling the minig function makes
all
the memory space in the heap
available again.
Any
objects
that
you
allocated
previously
will
be
lost;
don't
try
to
access
them.
The memory that minit
uses
is
in
a special memory pool or heap. A C mo-
dule called
memory.
c
reserves
memory for the heap
in
the .bss section. The
constant
MEMORY-SIZE
defines the size
of
the heap
as
1000
bytes.
If
nec-
essary,
you
can
change the size
of
the heap by change the value
of
MEMORY_SIZE
and reassembling
memory.
c.
For more information,
see
Section 5.1.3, Dynamic Memory Allocation, on page 5-4.
6-55

Table of Contents

Other manuals for Texas Instruments TMS34010

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Texas Instruments TMS34010 and is the answer not in the manual?

Texas Instruments TMS34010 Specifications

General IconGeneral
BrandTexas Instruments
ModelTMS34010
CategoryComputer Hardware
LanguageEnglish

Related product manuals