Standard library header <clocale> - cppreference.com

##### cppreference.com

##### Search

Create account

##### Namespaces

- Page
- Discussion

##### Variants

##### Views

- View
- Edit
- History

##### Actions

# Standard library header <clocale>

From cppreference.com
< cpp‎ | header

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

This header is part of the localization 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]

### [edit] Notes

- NULL is also defined in the following headers:
  - `<cstring>`
  - `<ctime>`
  - `<cstddef>`
  - `<cstdio>`
  - `<cwchar>`

Retrieved from "http://en.cppreference.com/mwiki/index.php?title=cpp/header/clocale&oldid=57445"