wow64: Add thunks for the I/O completion syscalls.
[wine.git] / include / msvcrt / corecrt_wstring.h
blob00e7863b5c3fd5303bacb240b9c0ea004a7dbcd5
1 /**
2 * This file has no copyright assigned and is placed in the Public Domain.
3 * This file is part of the Wine project.
4 */
6 #ifndef _WSTRING_DEFINED
7 #define _WSTRING_DEFINED
9 #include <corecrt.h>
11 #ifdef __cplusplus
12 extern "C" {
13 #endif
15 #ifndef _CRT_MEMORY_DEFINED
16 #define _CRT_MEMORY_DEFINED
17 _ACRTIMP void* __cdecl memchr(const void*,int,size_t);
18 _ACRTIMP int __cdecl memcmp(const void*,const void*,size_t);
19 _ACRTIMP void* __cdecl memcpy(void*,const void*,size_t);
20 _ACRTIMP errno_t __cdecl memcpy_s(void*,size_t,const void*,size_t);
21 _ACRTIMP void* __cdecl memset(void*,int,size_t);
22 _ACRTIMP void* __cdecl _memccpy(void*,const void*,int,size_t);
23 _ACRTIMP int __cdecl _memicmp(const void*,const void*,size_t);
24 _ACRTIMP int __cdecl _memicmp_l(const void*,const void*,size_t,_locale_t);
26 static inline int memicmp(const void* s1, const void* s2, size_t len) { return _memicmp(s1, s2, len); }
27 static inline void* memccpy(void *s1, const void *s2, int c, size_t n) { return _memccpy(s1, s2, c, n); }
28 #endif /* _CRT_MEMORY_DEFINED */
30 _ACRTIMP void* __cdecl memmove(void*,const void*,size_t);
32 _ACRTIMP wchar_t* __cdecl _wcsdup(const wchar_t*);
33 _ACRTIMP int __cdecl _wcsicmp(const wchar_t*,const wchar_t*);
34 _ACRTIMP int __cdecl _wcsicoll(const wchar_t*,const wchar_t*);
35 _ACRTIMP int __cdecl _wcsicoll_l(const wchar_t*, const wchar_t*, _locale_t);
36 _ACRTIMP wchar_t* __cdecl _wcslwr(wchar_t*);
37 _ACRTIMP errno_t __cdecl _wcslwr_s(wchar_t*, size_t);
38 _ACRTIMP int __cdecl _wcscoll_l(const wchar_t*, const wchar_t*, _locale_t);
39 _ACRTIMP int __cdecl _wcsncoll(const wchar_t*, const wchar_t*, size_t);
40 _ACRTIMP int __cdecl _wcsncoll_l(const wchar_t*, const wchar_t*, size_t, _locale_t);
41 _ACRTIMP int __cdecl _wcsnicmp(const wchar_t*,const wchar_t*,size_t);
42 _ACRTIMP int __cdecl _wcsnicoll(const wchar_t*,const wchar_t*,size_t);
43 _ACRTIMP int __cdecl _wcsnicoll_l(const wchar_t*, const wchar_t*, size_t, _locale_t);
44 _ACRTIMP size_t __cdecl _wcsnlen(const wchar_t*,size_t);
45 _ACRTIMP wchar_t* __cdecl _wcsnset(wchar_t*,wchar_t,size_t);
46 _ACRTIMP wchar_t* __cdecl _wcsrev(wchar_t*);
47 _ACRTIMP wchar_t* __cdecl _wcsset(wchar_t*,wchar_t);
48 _ACRTIMP wchar_t* __cdecl _wcsupr(wchar_t*);
49 _ACRTIMP errno_t __cdecl _wcsupr_s(wchar_t*, size_t);
50 _ACRTIMP size_t __cdecl _wcsxfrm_l(wchar_t*,const wchar_t*,size_t,_locale_t);
52 _ACRTIMP wchar_t* __cdecl wcscat(wchar_t*,const wchar_t*);
53 _ACRTIMP errno_t __cdecl wcscat_s(wchar_t*,size_t,const wchar_t*);
54 _ACRTIMP wchar_t* __cdecl wcschr(const wchar_t*,wchar_t);
55 _ACRTIMP int __cdecl wcscmp(const wchar_t*,const wchar_t*);
56 _ACRTIMP int __cdecl wcscoll(const wchar_t*,const wchar_t*);
57 _ACRTIMP wchar_t* __cdecl wcscpy(wchar_t*,const wchar_t*);
58 _ACRTIMP errno_t __cdecl wcscpy_s(wchar_t*,size_t,const wchar_t*);
59 _ACRTIMP size_t __cdecl wcscspn(const wchar_t*,const wchar_t*);
60 _ACRTIMP size_t __cdecl wcslen(const wchar_t*);
61 _ACRTIMP wchar_t* __cdecl wcsncat(wchar_t*,const wchar_t*,size_t);
62 _ACRTIMP int __cdecl wcsncmp(const wchar_t*,const wchar_t*,size_t);
63 _ACRTIMP wchar_t* __cdecl wcsncpy(wchar_t*,const wchar_t*,size_t);
64 _ACRTIMP errno_t __cdecl wcsncpy_s(wchar_t*,size_t,const wchar_t*,size_t);
65 _ACRTIMP size_t __cdecl wcsnlen(const wchar_t*,size_t);
66 _ACRTIMP wchar_t* __cdecl wcspbrk(const wchar_t*,const wchar_t*);
67 _ACRTIMP wchar_t* __cdecl wcsrchr(const wchar_t*,wchar_t wcFor);
68 _ACRTIMP size_t __cdecl wcsspn(const wchar_t*,const wchar_t*);
69 _ACRTIMP wchar_t* __cdecl wcsstr(const wchar_t*,const wchar_t*);
70 _ACRTIMP wchar_t* __cdecl wcstok_s(wchar_t*,const wchar_t*,wchar_t**);
71 _ACRTIMP size_t __cdecl wcsxfrm(wchar_t*,const wchar_t*,size_t);
73 #ifdef _UCRT
74 _ACRTIMP wchar_t* __cdecl wcstok(wchar_t*,const wchar_t*,wchar_t**);
75 static inline wchar_t* _wcstok(wchar_t* str, const wchar_t *delim) { return wcstok(str, delim, NULL); }
76 # ifdef __cplusplus
77 extern "C++" inline wchar_t* wcstok(wchar_t* str, const wchar_t *delim) { return wcstok(str, delim, NULL); }
78 # elif defined(_CRT_NON_CONFORMING_WCSTOK)
79 # define wcstok _wcstok
80 # endif
81 #else /* _UCRT */
82 _ACRTIMP wchar_t* __cdecl wcstok(wchar_t*,const wchar_t*);
83 # define _wcstok wcstok
84 #endif /* _UCRT */
86 #ifdef __cplusplus
88 #endif
90 #endif /* _WSTRING_DEFINED */