update for HEAD-2003021201
[reactos.git] / lib / crtdll / malloc / heap.c
1
2 #include <windows.h>
3 #include <msvcrt/malloc.h>
4
5 int     _heapchk(void)
6 {
7         if (!HeapValidate(GetProcessHeap(), 0, NULL))
8                 return -1;
9         return 0;
10 }
11
12 int     _heapmin(void)
13 {
14         if (!HeapCompact(GetProcessHeap(), 0)) 
15                 return -1;
16         return 0;
17 }
18
19 int     _heapset(unsigned int unFill)
20 {
21         if (_heapchk() == -1)
22                 return -1;
23         return 0;
24                 
25 }
26
27 int _heapwalk(struct _heapinfo* entry)
28 {
29         return 0;
30 }