1 /* Copyright (C) 1994 DJ Delorie, see COPYING.DJ for details */
3 #include <libc/unconst.h>
6 strpbrk(const char *s1
, const char *s2
)
11 while ((c
= *s1
++) != 0)
13 for (scanp
= s2
; (sc
= *scanp
++) != 0;)
15 return unconst(s1
- 1, char *);