Last change
on this file since 559 was
444,
checked in by satin@…, 6 years ago
|
add newlib,libalmos-mkh, restructure shared_syscalls.h and mini-libc
|
File size:
670 bytes
|
Line | |
---|
1 | /* wctrans constants */ |
---|
2 | |
---|
3 | #include <_ansi.h> |
---|
4 | #include "../locale/setlocale.h" |
---|
5 | |
---|
6 | /* valid values for wctrans_t */ |
---|
7 | #define WCT_TOLOWER 1 |
---|
8 | #define WCT_TOUPPER 2 |
---|
9 | |
---|
10 | /* valid values for wctype_t */ |
---|
11 | #define WC_ALNUM 1 |
---|
12 | #define WC_ALPHA 2 |
---|
13 | #define WC_BLANK 3 |
---|
14 | #define WC_CNTRL 4 |
---|
15 | #define WC_DIGIT 5 |
---|
16 | #define WC_GRAPH 6 |
---|
17 | #define WC_LOWER 7 |
---|
18 | #define WC_PRINT 8 |
---|
19 | #define WC_PUNCT 9 |
---|
20 | #define WC_SPACE 10 |
---|
21 | #define WC_UPPER 11 |
---|
22 | #define WC_XDIGIT 12 |
---|
23 | |
---|
24 | /* internal function to translate JP to Unicode */ |
---|
25 | #ifdef __CYGWIN__ |
---|
26 | /* Under Cygwin, the incoming wide character is already given in UTF due |
---|
27 | to the requirements of the underlying OS. */ |
---|
28 | #define _jp2uc(c) (c) |
---|
29 | #else |
---|
30 | wint_t _jp2uc (wint_t); |
---|
31 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.