EasyManua.ls Logo

Texas Instruments TMS34010 - Page 62

Texas Instruments TMS34010
128 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
Loading...
malloc
Allocate
Memory
Syntax
#include <memory.h>
char
*malloc(size)
int
size;
/*
size
of
block in bytes
*/
malloc
Description
This routine allocates a packet
of
memory
of
a specified size and returns a
pointer
to
it.
If
mal/oc
is
unable
to
allocate the packet (i.e.,
if it
runs
out
of
memory), it returns a
null
pointer
(0).
This function does
not
modify the
memory
it
allocates. Refer
to
Section
6.1
.1
, Specifying the Size
of
Memory
to Manage, for more information on
allocating memory.
6-11

Table of Contents

Other manuals for Texas Instruments TMS34010

Related product manuals