Subversion Repositories Kolibri OS

Rev

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

  1. char* strchr(const char* string, int c)
  2. {
  3.         while (*string!='\0')
  4.         {
  5.                 if (*string==c)
  6.                         return (char*)string;
  7.                 string++;
  8.         }      
  9.         return (char*)0;
  10. }
  11.