source:
trunk/sys/dietlibc/strpbrk.c
@
268
Last change on this file since 268 was 1, checked in by , 8 years ago | |
---|---|
File size: 206 bytes |
Line | |
---|---|
1 | #include <string.h> |
2 | |
3 | char *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.