You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/c-runtime-library/memory-allocation.md
+17-17Lines changed: 17 additions & 17 deletions
Original file line number
Diff line number
Diff line change
@@ -14,31 +14,31 @@ These routines allocate, free, and reallocate memory.
14
14
|Routine|Use|
15
15
|-------------|---------|
16
16
|[`_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)|
18
18
|[`_calloc_dbg`](../c-runtime-library/reference/calloc-dbg.md)|Debug version of **`calloc`**. Only available in the debug versions of the run-time libraries|
|[`_expand`](../c-runtime-library/reference/expand.md)|Expand or shrink a block of memory without moving it|
21
21
|[`_expand_dbg`](../c-runtime-library/reference/expand-dbg.md)|Debug version of **`_expand`**. Only available in the debug versions of the run-time libraries|
|[`_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.|
26
26
|[`_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|
32
32
|[`_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|
34
34
|[`_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|
39
39
|[`_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`**|
0 commit comments