source: trunk/sys/dietlibc/strpbrk.c @ 1

Last change on this file since 1 was 1, checked in by alain, 5 years ago

First import

File size: 206 bytes
Line 
1#include <string.h>
2
3char *strpbrk(const char *s, const char *accept) {
4  register unsigned int i;
5  for (; *s; s++)
6    for (i=0; accept[i]; i++)
7      if (*s == accept[i])
8        return (char*)s;
9  return 0;
10}
Note: See TracBrowser for help on using the repository browser.