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

Last change on this file since 128 was 1, checked in by alain, 8 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.