dmsynth: Add a trailing linefeed to TRACE() messages.
[wine.git] / include / msvcrt / corecrt_wstdlib.h
blobe37da1848ac7ce8aad023b3502480e6a723847f9
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 _WSTDLIB_DEFINED
7 #define _WSTDLIB_DEFINED
9 #include <corecrt.h>
11 #ifdef __cplusplus
12 extern "C" {
13 #endif
15 _ACRTIMP wchar_t* __cdecl _itow(int,wchar_t*,int);
16 _ACRTIMP errno_t __cdecl _itow_s(int,wchar_t*,size_t, int);
17 _ACRTIMP wchar_t* __cdecl _i64tow(__int64,wchar_t*,int);
18 _ACRTIMP errno_t __cdecl _i64tow_s(__int64, wchar_t*, size_t, int);
19 _ACRTIMP wchar_t* __cdecl _ltow(__msvcrt_long,wchar_t*,int);
20 _ACRTIMP errno_t __cdecl _ltow_s(__msvcrt_long,wchar_t*,size_t,int);
21 _ACRTIMP wchar_t* __cdecl _ui64tow(unsigned __int64,wchar_t*,int);
22 _ACRTIMP errno_t __cdecl _ui64tow_s(unsigned __int64, wchar_t*, size_t, int);
23 _ACRTIMP wchar_t* __cdecl _ultow(__msvcrt_ulong,wchar_t*,int);
24 _ACRTIMP errno_t __cdecl _ultow_s(__msvcrt_ulong, wchar_t*, size_t, int);
25 _ACRTIMP wchar_t* __cdecl _wfullpath(wchar_t*,const wchar_t*,size_t);
26 _ACRTIMP wchar_t* __cdecl _wgetenv(const wchar_t*);
27 _ACRTIMP errno_t __cdecl _wgetenv_s(size_t *,wchar_t *,size_t,const wchar_t *);
28 _ACRTIMP void __cdecl _wmakepath(wchar_t*,const wchar_t*,const wchar_t*,const wchar_t*,const wchar_t*);
29 _ACRTIMP int __cdecl _wmakepath_s(wchar_t*,size_t,const wchar_t*,const wchar_t*,const wchar_t*,const wchar_t*);
30 _ACRTIMP void __cdecl _wperror(const wchar_t*);
31 _ACRTIMP int __cdecl _wputenv(const wchar_t*);
32 _ACRTIMP void __cdecl _wsearchenv(const wchar_t*,const wchar_t*,wchar_t*);
33 _ACRTIMP void __cdecl _wsplitpath(const wchar_t*,wchar_t*,wchar_t*,wchar_t*,wchar_t*);
34 _ACRTIMP errno_t __cdecl _wsplitpath_s(const wchar_t*,wchar_t*,size_t,wchar_t*,size_t,
35 wchar_t*,size_t,wchar_t*,size_t);
36 _ACRTIMP int __cdecl _wsystem(const wchar_t*);
37 _ACRTIMP double __cdecl _wtof(const wchar_t*);
38 _ACRTIMP int __cdecl _wtoi(const wchar_t*);
39 _ACRTIMP __int64 __cdecl _wtoi64(const wchar_t*);
40 _ACRTIMP __msvcrt_long __cdecl _wtol(const wchar_t*);
42 _ACRTIMP size_t __cdecl mbstowcs(wchar_t*,const char*,size_t);
43 _ACRTIMP size_t __cdecl _mbstowcs_l(wchar_t*,const char*,size_t,_locale_t);
44 _ACRTIMP errno_t __cdecl mbstowcs_s(size_t*,wchar_t*,size_t,const char*,size_t);
45 _ACRTIMP errno_t __cdecl _mbstowcs_s_l(size_t*,wchar_t*,size_t,const char*,size_t,_locale_t);
46 _ACRTIMP int __cdecl mbtowc(wchar_t*,const char*,size_t);
47 _ACRTIMP int __cdecl _mbtowc_l(wchar_t*,const char*,size_t,_locale_t);
48 _ACRTIMP float __cdecl wcstof(const wchar_t*,wchar_t**);
49 _ACRTIMP double __cdecl wcstod(const wchar_t*,wchar_t**);
50 _ACRTIMP __msvcrt_long __cdecl wcstol(const wchar_t*,wchar_t**,int);
51 _ACRTIMP size_t __cdecl wcstombs(char*,const wchar_t*,size_t);
52 _ACRTIMP size_t __cdecl _wcstombs_l(char*,const wchar_t*,size_t,_locale_t);
53 _ACRTIMP errno_t __cdecl wcstombs_s(size_t*,char*,size_t,const wchar_t*,size_t);
54 _ACRTIMP __msvcrt_ulong __cdecl wcstoul(const wchar_t*,wchar_t**,int);
55 _ACRTIMP int __cdecl wctomb(char*,wchar_t);
56 _ACRTIMP int __cdecl _wctomb_l(char*,wchar_t,_locale_t);
57 _ACRTIMP __int64 __cdecl _wcstoi64(const wchar_t*,wchar_t**,int);
58 _ACRTIMP __int64 __cdecl _wcstoi64_l(const wchar_t*,wchar_t**,int,_locale_t);
59 _ACRTIMP unsigned __int64 __cdecl _wcstoui64(const wchar_t*,wchar_t**,int);
60 _ACRTIMP unsigned __int64 __cdecl _wcstoui64_l(const wchar_t*,wchar_t**,int,_locale_t);
61 _ACRTIMP __int64 __cdecl wcstoll(const wchar_t*,wchar_t**,int);
62 _ACRTIMP __int64 __cdecl _wcstoll_l(const wchar_t*,wchar_t**,int,_locale_t);
63 _ACRTIMP unsigned __int64 __cdecl wcstoull(const wchar_t*,wchar_t**,int);
64 _ACRTIMP unsigned __int64 __cdecl _wcstoull_l(const wchar_t*,wchar_t**,int,_locale_t);
66 #ifdef __cplusplus
67 extern "C++" {
69 template <size_t size>
70 inline errno_t _wgetenv_s(size_t *ret, wchar_t (&buf)[size], const wchar_t *var)
72 return _wgetenv_s(ret, buf, size, var);
75 } /* extern "C++" */
78 #endif
80 #endif /* _WSTDLIB_DEFINED */