git://git.jankratochvil.net
/
reactos.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
:pserver:cvsanon@mok.lvcm.com:/CVS/ReactOS reactos
[reactos.git]
/
lib
/
msvcrt
/
string
/
strpbrk.c
1
/* Copyright (C) 1994 DJ Delorie, see COPYING.DJ for details */
2
#include <msvcrt/string.h>
3
4
5
char *
6
strpbrk(const char *s1, const char *s2)
7
{
8
const char *scanp;
9
int c, sc;
10
11
while ((c = *s1++) != 0)
12
{
13
for (scanp = s2; (sc = *scanp++) != 0;)
14
if (sc == c)
15
return (char *)(s1 - 1);
16
}
17
return 0;
18
}