You copied the Doc URL to your clipboard.

Runtime selection of the locale subsystem in the C library

The C library function setlocale() selects a locale at runtime for the locale category, or categories, specified in its arguments. It does this by selecting the requested locale separately in each locale category. In effect, each locale category is a small filing system containing an entry for each locale.

C header files describing what must be implemented, and providing some useful support macros, are given in rt_locale.h and rt_locale.s.

See also


ARM C and C++ Libraries and Floating-Point Support Reference: