Namespaces
Variants
Views
Actions

Difference between revisions of "c/locale"

From cppreference.com
< c
m (Text replace - "/sidebar" to "/navbar")
m (See also: nomono, langlinks)
 
(8 intermediate revisions by 2 users not shown)
Line 2: Line 2:
 
{{c/locale/navbar}}
 
{{c/locale/navbar}}
  
{{dcl list begin}}
+
{{dsc begin}}
{{dcl list header | locale.h }}
+
{{dsc header | locale.h }}
{{dcl list template | c/locale/dcl list setlocale}}
+
{{dsc inc | c/locale/dsc setlocale}}
{{dcl list template | c/locale/dcl list localeconv}}
+
{{dsc inc | c/locale/dsc localeconv}}
{{dcl list template | c/locale/dcl list lconv}}
+
{{dsc inc | c/locale/dsc lconv}}
{{dcl list h2 | Locale categories}}
+
{{dsc h2 | Locale categories}}
{{dcl list template | c/locale/dcl list LC_categories}}
+
{{dsc inc | c/locale/dsc LC_categories}}
{{dcl list end}}
+
{{dsc end}}
 +
 
 +
===References===
 +
{{ref std c11}}
 +
{{ref std | section=7.11 | title=Localization <locale.h> | p=223-230}}
 +
{{ref std | section=7.31.6 | title=Localization <locale.h> | p=455}}
 +
{{ref std c99}}
 +
{{ref std | section=7.11 | title=Localization <locale.h> | p=204-211}}
 +
{{ref std | section=7.26.5 | title=Localization <locale.h> | p=401}}
 +
{{ref std c89}}
 +
{{ref std | section=4.4  | title=LOCALIZATION <locale.h>}}
 +
{{ref std | section=4.13.3 | title=Localization <locale.h>}}
 +
{{ref std end}}
 +
 
 +
===See also===
 +
{{dsc begin}}
 +
{{dsc see cpp | cpp/locale |Localization library | nomono=true}}
 +
{{dsc end}}
 +
 
 +
{{langlinks|ar|cs|de|es|fr|it|ja|ko|pl|pt|ru|tr|zh}}

Latest revision as of 03:20, 23 June 2021

Defined in header <locale.h>
gets and sets the current C locale
(function) [edit]
queries numeric and monetary formatting details of the current locale
(function) [edit]
formatting details, returned by localeconv
(struct)[edit]
Locale categories
locale categories for setlocale
(macro constant) [edit]

[edit] References

  • C11 standard (ISO/IEC 9899:2011):
  • 7.11 Localization <locale.h> (p: 223-230)
  • 7.31.6 Localization <locale.h> (p: 455)
  • C99 standard (ISO/IEC 9899:1999):
  • 7.11 Localization <locale.h> (p: 204-211)
  • 7.26.5 Localization <locale.h> (p: 401)
  • C89/C90 standard (ISO/IEC 9899:1990):
  • 4.4 LOCALIZATION <locale.h>
  • 4.13.3 Localization <locale.h>

[edit] See also

C++ documentation for Localization library