pxe: Fix recognition of keeppxe option
[syslinux.git] / com32 / lib / strchr.c
blobcd3ec780c8f9d76b714fdcca1e82725dd8ed9919
1 /*
2 * strchr.c
3 */
5 #include <string.h>
7 char *strchr(const char *s, int c)
9 while (*s != (char)c) {
10 if (!*s)
11 return NULL;
12 s++;
15 return (char *)s;