git://git.jankratochvil.net
/
reactos.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
:pserver:cvsanon@mok.lvcm.com:/CVS/ReactOS reactos
[reactos.git]
/
lib
/
crtdll
/
malloc
/
heap.c
1
2
#include <windows.h>
3
#include <crtdll/malloc.h>
4
5
int _heapchk (void)
6
{
7
if (!HeapValidate(GetProcessHeap(), 0, NULL))
8
return -1;
9
return 0;
10
}
11
int _heapmin (void)
12
{
13
if ( !HeapCompact( GetProcessHeap(), 0 ))
14
return -1;
15
return 0;
16
}
17
int _heapset (unsigned int unFill)
18
{
19
if ( _heapchk() == -1 )
20
return -1;
21
return 0;
22
23
}
24
25
26
int _heapwalk ( struct _heapinfo *entry)
27
{
28
return 0;
29
}