Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

Memory Allocation (Windows Embedded CE 6.0)

1/5/2010

Use memory allocation routines to allocate, free, and reallocate memory.

For detailed reference information about the CRT functions, see Alphabetical Function Reference (CRT).

Routine Use

_alloca

Allocates memory on the stack.

This function is deprecated because a more secure version, _malloca, is available.

calloc

Allocates storage for array, initializing every byte in allocated block to 0

free

Frees allocated block

_freea

Frees a block allocated by _malloca.

malloc

Allocates block of memory from heap

_malloca

Allocates memory on the stack.

This function is a more secure version of _alloca.

_msize

Returns size of allocated block

realloc

Reallocates block to new size

_recalloc

A combination of realloc and calloc. Reallocates an array in memory and initializes its elements.

_setmode

Sets file translation mode

Community Additions

ADD
Show:
© 2015 Microsoft