|
ginnOS
The reference: libc, the libraries and the kernel
|
locales. More...
#include <stddef.h>Go to the source code of this file.
Data Structures | |
| struct | lconv |
| how numbers and money are written. More... | |
Macros | |
| #define | LC_CTYPE 0 |
| #define | LC_NUMERIC 1 |
| #define | LC_TIME 2 |
| #define | LC_COLLATE 3 |
| #define | LC_MONETARY 4 |
| #define | LC_MESSAGES 5 |
| #define | LC_ALL 6 |
Functions | |
| char * | setlocale (int category, const char *locale) |
| choose the locale of a category, or ask for it. | |
| struct lconv * | localeconv (void) |
locales.
ginnOS has one: "C" (also called "POSIX"). text is UTF-8 bytes, numbers use '.', and nothing is translated.
| #define LC_CTYPE 0 |
| #define LC_NUMERIC 1 |
| #define LC_TIME 2 |
| #define LC_COLLATE 3 |
| #define LC_MONETARY 4 |
| #define LC_MESSAGES 5 |
| #define LC_ALL 6 |
| char * setlocale | ( | int | category, |
| const char * | locale ) |
choose the locale of a category, or ask for it.
| locale | "C", "POSIX" or "" (the default, also "C"); NULL asks. |
| struct lconv * localeconv | ( | void | ) |