update for HEAD-2003091401
[reactos.git] / lib / crtdll / mbstring / ismbc.c
1 #include <msvcrt/mbstring.h>
2
3 int _ismbbalpha(unsigned char c);
4 int _ismbbalnum(unsigned char c);
5
6 int _ismbcalnum( unsigned int c )
7 {
8         if ((c & 0xFF00) != 0) {
9                 // true multibyte character
10                 return 0;
11         }
12         else
13                 return _ismbbalnum(c);
14
15         return 0;
16 }
17
18 /*
19  * @implemented
20  */
21 int _ismbcalpha( unsigned int c )
22 {
23         if ((c & 0xFF00) != 0) {
24                 // true multibyte character
25                 return 0;
26         }
27         else
28                 return _ismbbalpha(c);
29
30         return 0;
31 }
32   
33 /*
34  * @implemented
35  */
36 int _ismbcdigit( unsigned int c )
37 {
38         if ((c & 0xFF00) != 0) {
39                 // true multibyte character
40                 return 0;
41         }
42         else
43                 return 0;
44 //              return _ismbbdigit(c);
45
46         return 0;
47 }
48
49 /*
50  * @implemented
51  */
52 int _ismbcprint( unsigned int c )
53 {
54         if ((c & 0xFF00) != 0) {
55                 // true multibyte character
56                 return 0;
57         }
58         else
59                 return 0;
60 //              return _ismbbdigit(c);
61
62         return 0;
63 }
64
65 /*
66  * @implemented
67  */
68 int _ismbcsymbol( unsigned int c )
69 {
70         if ((c & 0xFF00) != 0) {
71                 // true multibyte character
72                 return 0;
73         }
74         else
75                 return 0;
76 //              return _ismbbdigit(c);
77
78         return 0;
79 }
80
81 /*
82  * @implemented
83  */
84 int _ismbcspace( unsigned int c )
85 {
86         if ((c & 0xFF00) != 0) {
87                 // true multibyte character
88                 return 0;
89         }
90         else
91                 return 0;
92 //              return _ismbbdigit(c);
93
94         return 0;
95 }
96 /*
97  * @implemented
98  */
99 int _ismbclegal(unsigned int c)
100 {
101         if ((c & 0xFF00) != 0) {
102                 return _ismbblead(c>>8) && _ismbbtrail(c&0xFF);
103         }
104         else
105                 return _ismbbtrail(c&0xFF);
106
107         return 0;
108 }
109
110 /*
111  * @unimplemented
112  */
113 int _ismbcl0(unsigned int c)
114 {
115         return 0;
116 }
117
118 /*
119  * @unimplemented
120  */
121 int _ismbcl1(unsigned int c)
122 {
123         return 0;
124 }
125
126 /*
127  * @unimplemented
128  */
129 int _ismbcl2(unsigned int c)
130 {
131         return 0;
132 }