chiark / gitweb /
[PATCH] klibc: update to version 0.196
[elogind.git] / klibc / klibc / strpbrk.c
1 /*
2  * strpbrk
3  */
4
5 #include "strxspn.h"
6
7 char *
8 strpbrk(const char *s, const char *accept)
9 {
10   const char *ss = s+__strxspn(s, accept, 1);
11   
12   return *ss ? (char *)ss : NULL;
13 }
14