efi: PE file size differ from in-memory size
[syslinux.git] / dos / strchr.c
blob831531132fd43fa18495fb59ebf10252870d1f08
1 /*
2 * strchr.c
3 */
5 #include <string.h>
6 #include "mystuff.h"
8 char *strchr(const char *s, int c)
10 while (*s != (char)c) {
11 if (!*s)
12 return NULL;
13 s++;
16 return (char *)s;