strpbrk.c raw

   1  #include <string.h>
   2  
   3  char *strpbrk(const char *s, const char *b)
   4  {
   5  	s += strcspn(s, b);
   6  	return *s ? (char *)s : 0;
   7  }
   8