Changeset 2847 for trunk/kLdr/kLdrHlpHeap.c
- Timestamp:
- Nov 1, 2006, 8:17:21 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kLdr/kLdrHlpHeap.c
r2826 r2847 217 217 { 218 218 return kLdrHeapAlloc(&g_Heap, cb); 219 } 220 221 222 /** 223 * Allocates zero initialized memory from the kLdr heap. 224 * 225 * @returns Pointer to the allocated heap block. NULL if we can't satify the request. 226 * @param cb The requested heap block size. 227 */ 228 void *kldrHlpAllocZ(size_t cb) 229 { 230 void *pv = kLdrHeapAlloc(&g_Heap, cb); 231 if (pv) 232 kLdrHlpMemSet(pv, 0, cb); 233 return pv; 219 234 } 220 235
Note:
See TracChangeset
for help on using the changeset viewer.