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 |
See Also
Concepts
Other Resources
C/C++ Libraries for Windows Embedded CE
What's New in the C Run-Time Library