#include <stdlib.h>#include <string.h>

Go to the source code of this file.
Defines | |
| #define | C_CODESET "US-ASCII" |
| #define | JA_CODESET "EUC-JP" |
| #define | digit(x) ((x) >= '0' && (x) <= '9') |
| #define | strstart(s, n) (strncasecmp(s, n, strlen(n)) == 0) |
Functions | |
| const char * | nl_langinfo_codeset (void) |
Variables | |
| static char | buf [16] |
| #define C_CODESET "US-ASCII" |
| #define digit | ( | x | ) | ((x) >= '0' && (x) <= '9') |
| #define JA_CODESET "EUC-JP" |
| #define strstart | ( | s, | |||
| n | ) | (strncasecmp(s, n, strlen(n)) == 0) |
| const char* nl_langinfo_codeset | ( | void | ) |
Definition at line 63 of file langinfo.c.
References buf, C_CODESET, digit, getenv(), JA_CODESET, NULL, strchr(), and strstart.
Referenced by rb_locale_charmap().
char buf[16] [static] |
Definition at line 60 of file langinfo.c.