[DDK]
[reactos.git] / include / crt / memory.h
1 /**
2 * This file has no copyright assigned and is placed in the Public Domain.
3 * This file is part of the w64 mingw-runtime package.
4 * No warranty is given; refer to the file DISCLAIMER within this package.
5 */
6 #ifndef _INC_MEMORY
7 #define _INC_MEMORY
8
9 #include <crtdefs.h>
10
11 #ifdef __cplusplus
12 extern "C" {
13 #endif
14
15 #ifndef _CONST_RETURN
16 #define _CONST_RETURN
17 #endif
18
19 #define _WConst_return _CONST_RETURN
20
21 #ifndef _CRT_MEMORY_DEFINED
22 #define _CRT_MEMORY_DEFINED
23 _CRTIMP void *__cdecl _memccpy(void *_Dst,const void *_Src,int _Val,size_t _MaxCount);
24 _CONST_RETURN void *__cdecl memchr(const void *_Buf ,int _Val,size_t _MaxCount);
25 _CRTIMP int __cdecl _memicmp(const void *_Buf1,const void *_Buf2,size_t _Size);
26 _CRTIMP int __cdecl _memicmp_l(const void *_Buf1,const void *_Buf2,size_t _Size,_locale_t _Locale);
27 int __cdecl memcmp(const void *_Buf1,const void *_Buf2,size_t _Size);
28 void *__cdecl memcpy(void *_Dst,const void *_Src,size_t _Size);
29 void *__cdecl memset(void *_Dst,int _Val,size_t _Size);
30
31 #ifndef NO_OLDNAMES
32 _CRTIMP void *__cdecl memccpy(void *_Dst,const void *_Src,int _Val,size_t _Size);
33 _CRTIMP int __cdecl memicmp(const void *_Buf1,const void *_Buf2,size_t _Size);
34 #endif
35 #endif
36
37 #ifdef __cplusplus
38 }
39 #endif
40 #endif