#include <mbstring.h>
Go to the source code of this file.
◆ _mbsnbcoll()
Definition at line 70 of file mbsncoll.c.
71{
72 unsigned char *
s1 = (
unsigned char *)str1;
73 unsigned char *
s2 = (
unsigned char *)str2;
74
75 unsigned short *short_s1, *short_s2;
76
77 int l1, l2;
78
80 return 0;
81 do {
82
84 break;
85
88 if ( !l1 && !l2 ) {
89
92 else {
96 }
97 }
98 else if ( l1 && l2 ){
99 short_s1 = (
unsigned short *)
s1;
100 short_s2 = (
unsigned short *)
s2;
101 if ( *short_s1 != *short_s2 )
102 return colldif(*short_s1, *short_s2);
103 else {
107
108 }
109 }
110 else
113 return 0;
114}
int colldif(unsigned short c1, unsigned short c2)
int __cdecl _ismbblead(unsigned int)
◆ _mbsncoll()
Definition at line 21 of file mbsncoll.c.
22{
23 unsigned char *
s1 = (
unsigned char *)str1;
24 unsigned char *
s2 = (
unsigned char *)str2;
25
26 unsigned short *short_s1, *short_s2;
27
28 int l1, l2;
29
31 return 0;
32 do {
33
35 break;
36
39 if ( !l1 && !l2 ) {
40
43 else {
47 }
48 }
49 else if ( l1 && l2 ){
50 short_s1 = (
unsigned short *)
s1;
51 short_s2 = (
unsigned short *)
s2;
52 if ( *short_s1 != *short_s2 )
53 return colldif(*short_s1, *short_s2);
54 else {
58
59 }
60 }
61 else
64 return 0;
65}
◆ colldif()