ReactOS 0.4.16-dev-927-g467dec4
localeconv.cpp File Reference
#include <corecrt_internal.h>
#include <limits.h>
#include <locale.h>
Include dependency graph for localeconv.cpp:

Go to the source code of this file.

Classes

struct  __acrt_lconv_c
 

Functions

lconv *__cdecl localeconv ()
 

Variables

char __acrt_lconv_static_decimal [] {"."}
 
char __acrt_lconv_static_null [] {""}
 
wchar_t __acrt_lconv_static_W_decimal [] {L"."}
 
wchar_t __acrt_lconv_static_W_null [] {L""}
 
struct lconv__acrt_lconv {&__acrt_lconv_c}
 

Function Documentation

◆ localeconv()

lconv *__cdecl localeconv ( void  )

Definition at line 76 of file localeconv.cpp.

77{
78 // Note that we don't need _LocaleUpdate in this function. The main reason
79 // being, that this is a leaf function in locale usage terms.
80 __acrt_ptd* const ptd = __acrt_getptd();
81 __crt_locale_data* locale_info = ptd->_locale_info;
82
83 __acrt_update_locale_info(ptd, &locale_info);
84
85 return locale_info->lconv;
86}
__acrt_ptd *__cdecl __acrt_getptd(void)
_In_ size_t const _In_ int _In_ bool const _In_ unsigned const _In_ __acrt_rounding_mode const _Inout_ __crt_cached_ptd_host & ptd
Definition: cvt.cpp:355
void __acrt_update_locale_info(__acrt_ptd *const ptd, __crt_locale_data **const locale_info)
struct lconv * lconv

Referenced by ftoes(), and ftofs().

Variable Documentation

◆ __acrt_lconv

struct lconv* __acrt_lconv {&__acrt_lconv_c}

Definition at line 56 of file localeconv.cpp.

Referenced by sync_legacy_variables_lk().

◆ __acrt_lconv_static_decimal

char __acrt_lconv_static_decimal[] {"."}

Definition at line 17 of file localeconv.cpp.

◆ __acrt_lconv_static_null

char __acrt_lconv_static_null[] {""}

Definition at line 18 of file localeconv.cpp.

◆ __acrt_lconv_static_W_decimal

wchar_t __acrt_lconv_static_W_decimal[] {L"."}

Definition at line 19 of file localeconv.cpp.

◆ __acrt_lconv_static_W_null

wchar_t __acrt_lconv_static_W_null[] {L""}

Definition at line 20 of file localeconv.cpp.