|
Ruby
1.9.3p551(2014-11-13revision48407)
|
Go to the source code of this file.
Macros | |
| #define | C_CODESET |
| #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 |
Definition at line 48 of file langinfo.c.
Referenced by nl_langinfo_codeset().
| #define digit | ( | x | ) | ((x) >= '0' && (x) <= '9') |
Definition at line 58 of file langinfo.c.
Referenced by nl_langinfo_codeset(), and time_mload().
| #define JA_CODESET "EUC-JP" |
Definition at line 55 of file langinfo.c.
Referenced by nl_langinfo_codeset().
| #define strstart | ( | s, | |
| n | |||
| ) | (strncasecmp((s), (n), strlen(n)) == 0) |
Definition at line 59 of file langinfo.c.
Referenced by nl_langinfo_codeset().
| const char* nl_langinfo_codeset | ( | void | ) |
Definition at line 64 of file langinfo.c.
References buf, C_CODESET, digit, getenv(), JA_CODESET, NULL, p, strchr(), and strstart.
Referenced by rb_locale_charmap().
|
static |
Definition at line 61 of file langinfo.c.
Referenced by nl_langinfo_codeset().
1.8.14