ReactOS  0.4.14-dev-57-g333b8f1
locale.h File Reference
#include <crtdefs.h>
Include dependency graph for locale.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  lconv
 

Macros

#define NULL   ((void *)0)
 
#define LC_ALL   0
 
#define LC_COLLATE   1
 
#define LC_CTYPE   2
 
#define LC_MONETARY   3
 
#define LC_NUMERIC   4
 
#define LC_TIME   5
 
#define LC_MIN   LC_ALL
 
#define LC_MAX   LC_TIME
 
#define _LCONV_DEFINED
 
#define _CONFIG_LOCALE_SWT
 
#define _ENABLE_PER_THREAD_LOCALE   0x1
 
#define _DISABLE_PER_THREAD_LOCALE   0x2
 
#define _ENABLE_PER_THREAD_LOCALE_GLOBAL   0x10
 
#define _DISABLE_PER_THREAD_LOCALE_GLOBAL   0x20
 
#define _ENABLE_PER_THREAD_LOCALE_NEW   0x100
 
#define _DISABLE_PER_THREAD_LOCALE_NEW   0x200
 
#define _WLOCALE_DEFINED
 

Functions

_Check_return_opt_ int __cdecl _configthreadlocale (_In_ int _Flag)
 
_Check_return_opt_ char *__cdecl setlocale (_In_ int _Category, _In_opt_z_ const char *_Locale)
 
_Check_return_opt_ _CRTIMP struct lconv *__cdecl localeconv (void)
 
_Check_return_opt_ _locale_t __cdecl _get_current_locale (void)
 
_Check_return_opt_ _locale_t __cdecl _create_locale (_In_ int _Category, _In_z_ const char *_Locale)
 
void __cdecl _free_locale (_In_opt_ _locale_t _Locale)
 
_Check_return_ _locale_t __cdecl __get_current_locale (void)
 
_Check_return_ _locale_t __cdecl __create_locale (_In_ int _Category, _In_z_ const char *_Locale)
 
void __cdecl __free_locale (_In_opt_ _locale_t _Locale)
 
_Check_return_opt_ _CRTIMP wchar_t *__cdecl _wsetlocale (_In_ int _Category, _In_opt_z_ const wchar_t *_Locale)
 

Macro Definition Documentation

◆ _CONFIG_LOCALE_SWT

#define _CONFIG_LOCALE_SWT

Definition at line 60 of file locale.h.

◆ _DISABLE_PER_THREAD_LOCALE

#define _DISABLE_PER_THREAD_LOCALE   0x2

Definition at line 63 of file locale.h.

◆ _DISABLE_PER_THREAD_LOCALE_GLOBAL

#define _DISABLE_PER_THREAD_LOCALE_GLOBAL   0x20

Definition at line 65 of file locale.h.

◆ _DISABLE_PER_THREAD_LOCALE_NEW

#define _DISABLE_PER_THREAD_LOCALE_NEW   0x200

Definition at line 67 of file locale.h.

◆ _ENABLE_PER_THREAD_LOCALE

#define _ENABLE_PER_THREAD_LOCALE   0x1

Definition at line 62 of file locale.h.

◆ _ENABLE_PER_THREAD_LOCALE_GLOBAL

#define _ENABLE_PER_THREAD_LOCALE_GLOBAL   0x10

Definition at line 64 of file locale.h.

◆ _ENABLE_PER_THREAD_LOCALE_NEW

#define _ENABLE_PER_THREAD_LOCALE_NEW   0x100

Definition at line 66 of file locale.h.

◆ _LCONV_DEFINED

#define _LCONV_DEFINED

Definition at line 36 of file locale.h.

◆ _WLOCALE_DEFINED

#define _WLOCALE_DEFINED

Definition at line 125 of file locale.h.

◆ LC_ALL

#define LC_ALL   0

Definition at line 25 of file locale.h.

◆ LC_COLLATE

#define LC_COLLATE   1

Definition at line 26 of file locale.h.

◆ LC_CTYPE

#define LC_CTYPE   2

Definition at line 27 of file locale.h.

◆ LC_MAX

#define LC_MAX   LC_TIME

Definition at line 33 of file locale.h.

◆ LC_MIN

#define LC_MIN   LC_ALL

Definition at line 32 of file locale.h.

◆ LC_MONETARY

#define LC_MONETARY   3

Definition at line 28 of file locale.h.

◆ LC_NUMERIC

#define LC_NUMERIC   4

Definition at line 29 of file locale.h.

◆ LC_TIME

#define LC_TIME   5

Definition at line 30 of file locale.h.

◆ NULL

#define NULL   ((void *)0)

This file has no copyright assigned and is placed in the Public Domain. This file is part of the w64 mingw-runtime package. No warranty is given; refer to the file DISCLAIMER within this package.

Definition at line 21 of file locale.h.

Function Documentation

◆ __create_locale()

_Check_return_ _locale_t __cdecl __create_locale ( _In_ int  _Category,
_In_z_ const char _Locale 
)

◆ __free_locale()

void __cdecl __free_locale ( _In_opt_ _locale_t  _Locale)

◆ __get_current_locale()

_Check_return_ _locale_t __cdecl __get_current_locale ( void  )

◆ _configthreadlocale()

_Check_return_opt_ int __cdecl _configthreadlocale ( _In_ int  _Flag)

◆ _create_locale()

_Check_return_opt_ _locale_t __cdecl _create_locale ( _In_ int  _Category,
_In_z_ const char _Locale 
)

◆ _free_locale()

void __cdecl _free_locale ( _In_opt_ _locale_t  _Locale)

◆ _get_current_locale()

_Check_return_opt_ _locale_t __cdecl _get_current_locale ( void  )

◆ _wsetlocale()

_Check_return_opt_ _CRTIMP wchar_t* __cdecl _wsetlocale ( _In_ int  _Category,
_In_opt_z_ const wchar_t _Locale 
)

◆ localeconv()

Definition at line 601 of file locale.c.

602 {
603  return (struct lconv*)get_locinfo()->lconv;
604 }
MSVCRT_pthreadlocinfo get_locinfo(void)
Definition: locale.c:354
Definition: locale.h:37
struct MSVCRT_lconv * lconv
Definition: msvcrt.h:128

Referenced by ftoes(), and ftofs().

◆ setlocale()

_Check_return_opt_ char* __cdecl setlocale ( _In_ int  _Category,
_In_opt_z_ const char _Locale 
)