|
Ruby
2.0.0p481(2014-05-08revision45883)
|

Go to the source code of this file.
Defines | |
| #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 |
"US-ASCII" /* Return this as the encoding of the * C/POSIX locale. Could as well one day * become "UTF-8". */
Definition at line 48 of file langinfo.c.
Referenced by nl_langinfo_codeset().
| #define digit | ( | x | ) | ((x) >= '0' && (x) <= '9') |
Definition at line 56 of file langinfo.c.
Referenced by nl_langinfo_codeset(), time_mload(), and yaml_emitter_write_double_quoted_scalar().
| #define JA_CODESET "EUC-JP" |
Definition at line 53 of file langinfo.c.
Referenced by nl_langinfo_codeset().
| #define strstart | ( | s, | |
| n | |||
| ) | (strncasecmp((s), (n), strlen(n)) == 0) |
Definition at line 57 of file langinfo.c.
Referenced by nl_langinfo_codeset().
| const char* nl_langinfo_codeset | ( | void | ) |
Definition at line 62 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 59 of file langinfo.c.
1.7.6.1