projects
/
reactos.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Further reduced differences and include all identical msvcrt targets in crtdll makefile.
[reactos.git]
/
reactos
/
lib
/
crtdll
/
mbstring
/
mbsnextc.c
1
#include <msvcrt/mbstring.h>
2
3
unsigned int
_mbsnextc
(
const unsigned char
*
src
)
4
{
5
unsigned char
*
char_src
= (
unsigned char
*)
src
;
6
unsigned short
*
short_src
= (
unsigned short
*)
src
;
7
8
if
(
src
==
NULL
)
9
return
0
;
10
11
if
( !
_ismbblead
(*
src
) )
12
return
*
char_src
;
13
else
14
return
*
short_src
;
15
return
0
;
16
}