at_wini also needs a pci_reserve() for the pci compatability device, if
[minix3.git] / lib / ansi / strpbrk.c
blob5f08731bb11b68bb88b7458bd82a0d481f7af9f0
1 /*
2 * (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands.
3 * See the copyright notice in the ACK home directory, in the file "Copyright".
4 */
5 /* $Header$ */
7 #include <string.h>
9 char *
10 strpbrk(register const char *string, register const char *brk)
12 register const char *s1;
14 while (*string) {
15 for (s1 = brk; *s1 && *s1 != *string; s1++)
16 /* EMPTY */ ;
17 if (*s1)
18 return (char *)string;
19 string++;
21 return (char *)NULL;