diff options
Diffstat (limited to 'newlib/libc/ctype/local.h')
-rw-r--r-- | newlib/libc/ctype/local.h | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/newlib/libc/ctype/local.h b/newlib/libc/ctype/local.h new file mode 100644 index 000000000..b1eca42e6 --- /dev/null +++ b/newlib/libc/ctype/local.h @@ -0,0 +1,32 @@ +/* wctrans constants */ + +#include <_ansi.h> + +/* valid values for wctrans_t */ +#define WCT_TOLOWER 1 +#define WCT_TOUPPER 2 + +/* valid values for wctype_t */ +#define WC_ALNUM 1 +#define WC_ALPHA 2 +#define WC_BLANK 3 +#define WC_CNTRL 4 +#define WC_DIGIT 5 +#define WC_GRAPH 6 +#define WC_LOWER 7 +#define WC_PRINT 8 +#define WC_PUNCT 9 +#define WC_SPACE 10 +#define WC_UPPER 11 +#define WC_XDIGIT 12 + +extern char __lc_ctype[12]; + +/* Japanese encoding types supported */ +#define JP_JIS 1 +#define JP_SJIS 2 +#define JP_EUCJP 3 + +/* internal function to translate JP to Unicode */ +wint_t _EXFUN (__jp2uc, (wint_t, int)); + |