move msghdr and cmsghdr out of bits/socket.h
[musl.git] / src / string / strpbrk.c
blob55947c641b869f7f75a6ce8aa8f3110aedb70832
1 #include <string.h>
3 char *strpbrk(const char *s, const char *b)
5 s += strcspn(s, b);
6 return *s ? (char *)s : 0;