Skip to content

Commit eb7c1eb

Browse files
TylerMSFTTylerMSFT
authored andcommitted
a little more wordsmithing
1 parent 14fb492 commit eb7c1eb

File tree

1 file changed

+17
-17
lines changed

1 file changed

+17
-17
lines changed

docs/c-runtime-library/memory-allocation.md

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -14,31 +14,31 @@ These routines allocate, free, and reallocate memory.
1414
|Routine|Use|
1515
|-------------|---------|
1616
|[`_alloca`](../c-runtime-library/reference/alloca.md), [`_malloca`](../c-runtime-library/reference/malloca.md)|Allocate memory from the stack|
17-
|[`calloc`](../c-runtime-library/reference/calloc.md)|Allocate storage for array and initialize every byte in the allocated block to 0 (zero)|
17+
|[`calloc`](../c-runtime-library/reference/calloc.md)|Allocate an array and initialize its elements to 0 (zero)|
1818
|[`_calloc_dbg`](../c-runtime-library/reference/calloc-dbg.md)|Debug version of **`calloc`**. Only available in the debug versions of the run-time libraries|
19-
|[`operator delete`, `operator delete[]`](../c-runtime-library/delete-operator-crt.md)|Free allocated block|
19+
|[`operator delete`, `operator delete[]`](../c-runtime-library/delete-operator-crt.md)|Free allocated memory|
2020
|[`_expand`](../c-runtime-library/reference/expand.md)|Expand or shrink a block of memory without moving it|
2121
|[`_expand_dbg`](../c-runtime-library/reference/expand-dbg.md)|Debug version of **`_expand`**. Only available in the debug versions of the run-time libraries|
22-
|[`free`](../c-runtime-library/reference/free.md)|Free allocated block|
22+
|[`free`](../c-runtime-library/reference/free.md)|Free memory|
2323
|[`_free_dbg`](../c-runtime-library/reference/free-dbg.md)|Debug version of **`free`**. Only available in the debug versions of the run-time libraries|
24-
|[`_freea`](../c-runtime-library/reference/freea.md)|Free allocated block from the stack|
25-
|[`_get_heap_handle`](../c-runtime-library/reference/get-heap-handle.md)|Get Win32 `HANDLE` of the CRT heap.|
24+
|[`_freea`](../c-runtime-library/reference/freea.md)|Free memory allocated on the stack|
25+
|[`_get_heap_handle`](../c-runtime-library/reference/get-heap-handle.md)|Get a Win32 `HANDLE` to the CRT heap.|
2626
|[`_heapadd`](../c-runtime-library/heapadd.md)|Add memory to the heap|
27-
|[`_heapchk`](../c-runtime-library/reference/heapchk.md)|Check heap for consistency|
28-
|[`_heapmin`](../c-runtime-library/reference/heapmin.md)|Release unused memory in heap|
29-
|[`_heapset`](../c-runtime-library/heapset.md)|Fill free heap entries with specified value|
30-
|[`_heapwalk`](../c-runtime-library/reference/heapwalk.md)|Return information about each entry in heap|
31-
|[`malloc`](../c-runtime-library/reference/malloc.md)|Allocate block of memory from heap|
27+
|[`_heapchk`](../c-runtime-library/reference/heapchk.md)|Check the heap for consistency|
28+
|[`_heapmin`](../c-runtime-library/reference/heapmin.md)|Release unused memory in the heap|
29+
|[`_heapset`](../c-runtime-library/heapset.md)|Fill free heap entries with a value|
30+
|[`_heapwalk`](../c-runtime-library/reference/heapwalk.md)|Get info about each entry in the heap|
31+
|[`malloc`](../c-runtime-library/reference/malloc.md)|Allocate memory from the heap|
3232
|[`_malloc_dbg`](../c-runtime-library/reference/malloc-dbg.md)|Debug version of **`malloc`**; only available in the debug versions of the run-time libraries|
33-
|[`_msize`](../c-runtime-library/reference/msize.md)|Return size of allocated block|
33+
|[`_msize`](../c-runtime-library/reference/msize.md)|Return the size of an allocated block of memory|
3434
|[`_msize_dbg`](../c-runtime-library/reference/msize-dbg.md)|Debug version of **`_msize`**; only available in the debug versions of the run-time libraries|
35-
|[`new`, `new[]`](../c-runtime-library/new-operator-crt.md)|Allocate block of memory from heap|
36-
|[`_query_new_handler`](../c-runtime-library/reference/query-new-handler.md)|Return address of current new handler routine as set by **`_set_new_handler`**|
37-
|[`_query_new_mode`](../c-runtime-library/reference/query-new-mode.md)|Return integer indicating new handler mode set by **`_set_new_mode`** for **`malloc`**|
38-
|[`realloc`](../c-runtime-library/reference/realloc.md)|Reallocate block to new size|
35+
|[`new`, `new[]`](../c-runtime-library/new-operator-crt.md)|Allocate a block of memory from the heap|
36+
|[`_query_new_handler`](../c-runtime-library/reference/query-new-handler.md)|Get the address of the current new handler routine set by **`_set_new_handler`**|
37+
|[`_query_new_mode`](../c-runtime-library/reference/query-new-mode.md)|Get the new handler mode set by **`_set_new_mode`** for **`malloc`**|
38+
|[`realloc`](../c-runtime-library/reference/realloc.md)|Reallocate a block to a new size|
3939
|[`_realloc_dbg`](../c-runtime-library/reference/realloc-dbg.md)|Debug version of **`realloc`**; only available in the debug versions of the run-time libraries|
40-
|[`_set_new_handler`](../c-runtime-library/reference/set-new-handler.md)|Enable error-handling mechanism when **`new`** operator fails (to allocate memory) and enable compilation of C++ Standard Libraries|
41-
|[`_set_new_mode`](../c-runtime-library/reference/set-new-mode.md)|Set new handler mode for **`malloc`**|
40+
|[`_set_new_handler`](../c-runtime-library/reference/set-new-handler.md)|Enable error-handling mechanism when the **`new`** operator fails to allocate memory, and enable compilation of the C++ Standard Libraries|
41+
|[`_set_new_mode`](../c-runtime-library/reference/set-new-mode.md)|Set the new handler mode for **`malloc`**|
4242

4343
## See also
4444

0 commit comments

Comments
 (0)