Subversion Repositories Kolibri OS

Rev

Rev 647 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 647 Rev 6412
Line 1... Line 1...
1
char* strpbrk(const char* string, const char* strCharSet)
1
char* strpbrk(const char* string, const char* strCharSet)
2
{
2
{
3
	char* temp;
3
	const char* temp;
4
	while (*string!='\0')
4
	while (*string!='\0')
5
	{
5
	{
6
		temp=strCharSet;
6
		temp=strCharSet;
7
		while (*temp!='\0')
7
		while (*temp!='\0')
8
		{
8
		{
9
			if (*string==*temp)
9
			if (*string==*temp)
10
				return string;
10
				return (char*)string;
11
			temp++;
11
			temp++;
12
		}
12
		}
13
		string++;
13
		string++;
14
	}
14
	}
15
	return (char*)0;
15
	return (char*)0;