4 * Derived from the mingw header written by Colin Peters.
5 * Modified for Wine use by Jon Griffiths and Francois Gouget.
6 * This file is in the public domain.
8 #ifndef __WINE_MEMORY_H
9 #define __WINE_MEMORY_H
17 #ifndef _CRT_MEMORY_DEFINED
18 #define _CRT_MEMORY_DEFINED
20 _ACRTIMP
void* __cdecl
memchr(const void*,int,size_t);
21 _ACRTIMP
int __cdecl
memcmp(const void*,const void*,size_t);
22 _ACRTIMP
void* __cdecl
memcpy(void*,const void*,size_t);
23 _ACRTIMP errno_t __cdecl
memcpy_s(void*,size_t,const void*,size_t);
24 _ACRTIMP
void* __cdecl
memset(void*,int,size_t);
25 _ACRTIMP
void* __cdecl
_memccpy(void*,const void*,int,size_t);
26 _ACRTIMP
int __cdecl
_memicmp(const void*,const void*,size_t);
27 _ACRTIMP
int __cdecl
_memicmp_l(const void*,const void*,size_t,_locale_t
);
29 static inline int memicmp(const void* s1
, const void* s2
, size_t len
) { return _memicmp(s1
, s2
, len
); }
30 static inline void* memccpy(void *s1
, const void *s2
, int c
, size_t n
) { return _memccpy(s1
, s2
, c
, n
); }
32 #endif /* _CRT_MEMORY_DEFINED */
38 #endif /* __WINE_MEMORY_H */