ntdll: Initialize server directory on macOS when sending Mach port.
[wine.git] / include / msvcrt / corecrt_wstring.h
blob10ab894328f8b67c4d495c935be2defbe5f81752
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,unsigned int);
23 _ACRTIMP int __cdecl _memicmp(const void*,const void*,unsigned int);
24 _ACRTIMP int __cdecl _memicmp_l(const void*,const void*,unsigned int,_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);
51 _ACRTIMP wchar_t* __cdecl wcscat(wchar_t*,const wchar_t*);
52 _ACRTIMP errno_t __cdecl wcscat_s(wchar_t*,size_t,const wchar_t*);
53 _ACRTIMP wchar_t* __cdecl wcschr(const wchar_t*,wchar_t);
54 _ACRTIMP int __cdecl wcscmp(const wchar_t*,const wchar_t*);
55 _ACRTIMP int __cdecl wcscoll(const wchar_t*,const wchar_t*);
56 _ACRTIMP wchar_t* __cdecl wcscpy(wchar_t*,const wchar_t*);
57 _ACRTIMP errno_t __cdecl wcscpy_s(wchar_t*,size_t,const wchar_t*);
58 _ACRTIMP size_t __cdecl wcscspn(const wchar_t*,const wchar_t*);
59 _ACRTIMP size_t __cdecl wcslen(const wchar_t*);
60 _ACRTIMP wchar_t* __cdecl wcsncat(wchar_t*,const wchar_t*,size_t);
61 _ACRTIMP int __cdecl wcsncmp(const wchar_t*,const wchar_t*,size_t);
62 _ACRTIMP wchar_t* __cdecl wcsncpy(wchar_t*,const wchar_t*,size_t);
63 _ACRTIMP errno_t __cdecl wcsncpy_s(wchar_t*,size_t,const wchar_t*,size_t);
64 _ACRTIMP size_t __cdecl wcsnlen(const wchar_t*,size_t);
65 _ACRTIMP wchar_t* __cdecl wcspbrk(const wchar_t*,const wchar_t*);
66 _ACRTIMP wchar_t* __cdecl wcsrchr(const wchar_t*,wchar_t wcFor);
67 _ACRTIMP size_t __cdecl wcsspn(const wchar_t*,const wchar_t*);
68 _ACRTIMP wchar_t* __cdecl wcsstr(const wchar_t*,const wchar_t*);
69 _ACRTIMP wchar_t* __cdecl wcstok_s(wchar_t*,const wchar_t*,wchar_t**);
70 _ACRTIMP size_t __cdecl wcsxfrm(wchar_t*,const wchar_t*,size_t);
72 #ifdef _UCRT
73 _ACRTIMP wchar_t* __cdecl wcstok(wchar_t*,const wchar_t*,wchar_t**);
74 static inline wchar_t* _wcstok(wchar_t* str, const wchar_t *delim) { return wcstok(str, delim, NULL); }
75 # ifdef __cplusplus
76 extern "C++" inline wchar_t* wcstok(wchar_t* str, const wchar_t *delim) { return wcstok(str, delim, NULL); }
77 # elif defined(_CRT_NON_CONFORMING_WCSTOK)
78 # define wcstok _wcstok
79 # endif
80 #else /* _UCRT */
81 _ACRTIMP wchar_t* __cdecl wcstok(wchar_t*,const wchar_t*);
82 # define _wcstok wcstok
83 #endif /* _UCRT */
85 #ifdef __cplusplus
87 #endif
89 #endif /* _WSTRING_DEFINED */