W3cubDocs

/C++

Standard library header <clocale>

This header was originally in the C standard library as <locale.h>.

This header is part of the localization library.

Types

formatting details, returned by std::localeconv
(class)

Constants

implementation-defined null pointer constant
(macro constant)
locale categories for std::setlocale
(macro constant)

Functions

gets and sets the current C locale
(function)
queries numeric and monetary formatting details of the current locale
(function)

Synopsis

namespace std {
  struct lconv;
 
  char* setlocale(int category, const char* locale);
  lconv* localeconv();
}
 
#define NULL /* see description */
#define LC_ALL /* see description */
#define LC_COLLATE /* see description */
#define LC_CTYPE /* see description */
#define LC_MONETARY /* see description */
#define LC_NUMERIC /* see description */
#define LC_TIME /* see description */

Notes

© cppreference.com
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.
https://en.cppreference.com/w/cpp/header/clocale