1
0
mirror of https://github.com/UzixLS/KernelEx.git synced 2025-07-19 07:21:20 +03:00
Files
KernelEx/kexcrt/strpbrk.c
2018-11-03 16:20:02 +03:00

13 lines
175 B
C

/*
* strpbrk
*/
#include "strxspn.h"
char *strpbrk(const char *s, const char *accept)
{
const char *ss = s + __strxspn(s, accept, 1);
return *ss ? (char *)ss : NULL;
}