51d395d0cc
git-svn-id: svn://kolibrios.org@145 a494cfbc-eb01-0410-851d-a64ba20cac60
11 lines
157 B
C
11 lines
157 B
C
char* strchr(const char* string, int c)
|
|
{
|
|
while (*string!='\0')
|
|
{
|
|
if (*string==c)
|
|
return (char*)string;
|
|
string++;
|
|
}
|
|
return (char*)0;
|
|
}
|