. pci driver now returns devices, even when they have been pci_reserve()d
[minix3.git] / lib / other / index.c
blob4c648de8b3f1ce4fc77cdeeb5a25cdde83c44181
1 #include <lib.h>
2 /* index - find first occurrence of a character in a string */
4 #include <string.h>
6 char *index(s, charwanted) /* found char, or NULL if none */
7 _CONST char *s;
8 char charwanted;
10 return(strchr(s, charwanted));