Subversion Repositories Kolibri OS

Rev

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

  1. #include <string.h>
  2.  
  3. char* strpbrk(const char* string, const char* strCharSet)
  4. {
  5.         const char* temp;
  6.         while (*string!='\0')
  7.         {
  8.                 temp=strCharSet;
  9.                 while (*temp!='\0')
  10.                 {
  11.                         if (*string==*temp)
  12.                                 return (char*)string;
  13.                         temp++;
  14.                 }
  15.                 string++;
  16.         }
  17.         return (char*)0;
  18. }
  19.