#include <mbstring.h>
Go to the source code of this file.
◆ _mbsnbcmp()
Definition at line 65 of file mbsncmp.c.
66{
67 unsigned char *
s1 = (
unsigned char *)str1;
68 unsigned char *
s2 = (
unsigned char *)str2;
69
70 unsigned short *short_s1, *short_s2;
71
72 int l1, l2;
73
75 return 0;
76 do {
77
79 break;
80
83 if ( !l1 && !l2 ) {
84
87 else {
91 }
92 }
93 else if ( l1 && l2 ){
94 short_s1 = (
unsigned short *)
s1;
95 short_s2 = (
unsigned short *)
s2;
96 if ( *short_s1 != *short_s2 )
97 return *short_s1 - *short_s2;
98 else {
102
103 }
104 }
105 else
108 return 0;
109}
int __cdecl _ismbblead(unsigned int)
◆ _mbsncmp()
Definition at line 16 of file mbsncmp.c.
17{
18 unsigned char *
s1 = (
unsigned char *)str1;
19 unsigned char *
s2 = (
unsigned char *)str2;
20
21 unsigned short *short_s1, *short_s2;
22
23 int l1, l2;
24
26 return 0;
27 do {
28
30 break;
31
34 if ( !l1 && !l2 ) {
35
38 else {
42 }
43 }
44 else if ( l1 && l2 ){
45 short_s1 = (
unsigned short *)
s1;
46 short_s2 = (
unsigned short *)
s2;
47 if ( *short_s1 != *short_s2 )
48 return *short_s1 - *short_s2;
49 else {
53
54 }
55 }
56 else
59 return 0;
60}