Subversion Repositories Kolibri OS

Rev

Rev 647 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
6433 siemargl 1
#include 
2
 
145 halyavin 3
char* strrchr(const char* s,int c)
4
{
5
	char* res;
6
	res=(char*)0;
7
	while (1)
8
	{
9
		if (*s==(char)c)
10
			res=(char*)s;
11
		if (*s=='\0')
12
			break;
13
		s++;
14
	}
15
	return res;
16
}