projects
/
reactos.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Use free Windows DDK and compile with latest MinGW releases.
[reactos.git]
/
reactos
/
lib
/
msvcrt
/
mbstring
/
mbsspnp.c
1
#include <msvcrti.h>
2
3
4
// not correct
5
unsigned char
*
_mbsspnp
(
const unsigned char
*
s1
,
const unsigned char
*
s2
)
6
{
7
const char
*
p
=
s1
, *
spanp
;
8
char
c
,
sc
;
9
10
cont
:
11
c
= *
p
++;
12
for
(
spanp
=
s2
; (
sc
= *
spanp
++) !=
0
;)
13
if
(
sc
==
c
)
14
goto
cont
;
15
return
(
unsigned char
*)
p
;
16
}