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