Subversion Repositories Kolibri OS

Rev

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

Rev 3988 Rev 4001
Line 123... Line 123...
123
 
123
 
Line 124... Line 124...
124
 
124
 
125
char* strrchr(const char* string, int c)
125
char* strrchr(const char* string, int c)
126
{
126
{
127
	int last_found;
127
	char* last_found;
128
	while (*string)
128
	while (*string)
129
	{
129
	{
130
		if (*string==c)
130
		if (*string==c)
131
		{
131
		{
132
			last_found = string;
132
			last_found = (char*)string;
133
		}
133
		}
134
		string++;
134
		string++;
135
	}	
135
	}	
136
	return (char*)last_found;
136
	return last_found;
Line 137... Line 137...
137
}
137
}