2 * This file has no copyright assigned and is placed in the Public Domain.
3 * This file is part of the w64 mingw-runtime package.
4 * No warranty is given; refer to the file DISCLAIMER within this package.
13 #pragma pack(push,_CRT_PACKING)
30 #define _X_COLLATE LC_COLLATE
31 #define _X_CTYPE LC_CTYPE
32 #define _X_MONETARY LC_MONETARY
33 #define _X_NUMERIC LC_NUMERIC
34 #define _X_TIME LC_TIME
39 #define _CATMASK(n) ((1 << (n)) >> 1)
40 #define _M_COLLATE _CATMASK(_X_COLLATE)
41 #define _M_CTYPE _CATMASK(_X_CTYPE)
42 #define _M_MONETARY _CATMASK(_X_MONETARY)
43 #define _M_NUMERIC _CATMASK(_X_NUMERIC)
44 #define _M_TIME _CATMASK(_X_TIME)
45 #define _M_MESSAGES _CATMASK(_X_MESSAGES)
46 #define _M_ALL (_CATMASK(_NCAT) - 1)
48 typedef struct _Collvec
{
53 typedef struct _Ctypevec
{
60 typedef struct _Cvtvec
{
65 _CRTIMP _Collvec __cdecl
_Getcoll();
66 _CRTIMP _Ctypevec __cdecl
_Getctype();
67 _CRTIMP _Cvtvec __cdecl
_Getcvt();
68 _CRTIMP
int __cdecl
_Getdateorder();
69 _CRTIMP
int __cdecl
_Mbrtowc(wchar_t *,const char *,size_t,mbstate_t *,const _Cvtvec
*);
70 _CRTIMP
float __cdecl
_Stof(const char *,char **,long);
71 _CRTIMP
double __cdecl
_Stod(const char *,char **,long);
72 _CRTIMP
long double __cdecl
_Stold(const char *,char **,long);
73 _CRTIMP
int __cdecl
_Strcoll(const char *,const char *,const char *,const char *,const _Collvec
*);
74 _CRTIMP
size_t __cdecl
_Strxfrm(char *_String1
,char *_End1
,const char *,const char *,const _Collvec
*);
75 _CRTIMP
int __cdecl
_Tolower(int,const _Ctypevec
*);
76 _CRTIMP
int __cdecl
_Toupper(int,const _Ctypevec
*);
77 _CRTIMP
int __cdecl
_Wcrtomb(char *,wchar_t,mbstate_t *,const _Cvtvec
*);
78 _CRTIMP
int __cdecl
_Wcscoll(const wchar_t *,const wchar_t *,const wchar_t *,const wchar_t *,const _Collvec
*);
79 _CRTIMP
size_t __cdecl
_Wcsxfrm(wchar_t *_String1
,wchar_t *_End1
,const wchar_t *,const wchar_t *,const _Collvec
*);
80 _CRTIMP
short __cdecl
_Getwctype(wchar_t,const _Ctypevec
*);
81 _CRTIMP
const wchar_t *__cdecl
_Getwctypes(const wchar_t *,const wchar_t *,short*,const _Ctypevec
*);
82 _CRTIMP
wchar_t __cdecl
_Towlower(wchar_t,const _Ctypevec
*);
83 _CRTIMP
wchar_t __cdecl
_Towupper(wchar_t,const _Ctypevec
*);
88 _CRTIMP
void *__cdecl
_Gettnames();
89 _CRTIMP
char *__cdecl
_Getdays();
90 _CRTIMP
char *__cdecl
_Getmonths();
91 _CRTIMP
size_t __cdecl
_Strftime(char *,size_t _Maxsize
,const char *,const struct tm
*,void *);
95 _locale_t __cdecl
_GetLocaleForCP(unsigned int);