Added new 'bootcd' target.
[reactos.git] / reactos / include / msvcrt / malloc.h
1 /*
2 * malloc.h
3 *
4 * Support for programs which want to use malloc.h to get memory management
5 * functions. Unless you absolutely need some of these functions and they are
6 * not in the ANSI headers you should use the ANSI standard header files
7 * instead.
8 *
9 * This file is part of the Mingw32 package.
10 *
11 * Contributors:
12 * Created by Colin Peters <colin@bird.fu.is.saga-u.ac.jp>
13 *
14 * THIS SOFTWARE IS NOT COPYRIGHTED
15 *
16 * This source code is offered for use in the public domain. You may
17 * use, modify or distribute it freely.
18 *
19 * This code is distributed in the hope that it will be useful but
20 * WITHOUT ANY WARRANTY. ALL WARRANTIES, EXPRESS OR IMPLIED ARE HEREBY
21 * DISCLAMED. This includes but is not limited to warranties of
22 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
23 *
24 * $Revision: 1.1 $
25 * $Author: ekohl $
26 * $Date: 2001/07/03 12:55:00 $
27 *
28 */
29
30 #ifndef __STRICT_ANSI__
31
32 #ifndef _MALLOC_H_
33 #define _MALLOC_H_
34
35 #include <msvcrt/alloc.h>
36
37 #ifdef __cplusplus
38 extern "C" {
39 #endif
40
41 void * _expand( void *memblock, size_t size );
42 int _heapchk (void); /* Verify heap integrety. */
43 int _heapmin (void); /* Return unused heap to the OS. */
44 int _heapset (unsigned int unFill);
45 size_t _msize (void* pBlock);
46
47 #ifdef __cplusplus
48 }
49 #endif
50
51 #endif /* Not _MALLOC_H_ */
52
53 #endif /* Not __STRICT_ANSI__ */