Standard library header <clocale> - cppreference.com

From cppreference.com

This header was originally in the C standard library as

<locale.h>

.

This header is part of the

text processing

library.

Types

lconv

formatting details, returned by

std::localeconv

(class)

[edit]

Constants

NULL

implementation-defined null pointer constant
(macro constant)

[edit]

LC_ALLLC_COLLATELC_CTYPELC_MONETARYLC_NUMERICLC_TIME

locale categories for

std::setlocale

(macro constant)

[edit]

Functions

setlocale

gets and sets the current C locale
(function)

[edit]

localeconv

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

[edit]

Synopsis

namespacestd{structlconv;char*setlocale(intcategory,constchar*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

NULL

is also defined in the following headers:

<cstring>

<ctime>

<cstddef>

<cstdio>

<cwchar>