Subversion Repositories Kolibri OS

Rev

Go to most recent revision | Blame | Last modification | View Log | Download | RSS feed

  1. char* strrchr(const char* s,int c)
  2. {
  3.         char* res;
  4.         res=(char*)0;
  5.         while (1)
  6.         {
  7.                 if (*s==(char)c)
  8.                         res=(char*)s;
  9.                 if (*s=='\0')
  10.                         break;
  11.                 s++;
  12.         }
  13.         return res;
  14. }
  15.