historical/m0-applesillicon.git/xnu-qemu-arm64-5.1.0/roms/u-boot-sam460ex/tools/updater/string.c
2024-01-16 11:20:27 -06:00

11 lines
195 B
C

#include <linux/types.h>
#include <linux/string.h>
#include <malloc.h>
char * strchr(const char * s, int c)
{
for(; *s != (char) c; ++s)
if (*s == '\0')
return NULL;
return (char *) s;
}