Sign in
qemu
/
u-boot-sam460ex
/
f39236b02b360593f43ca46c590b2695dabefc15
/
.
/
tools
/
updater
/
string.c
blob: efbc47cd95528e535a0d887b2c5f1ca4e37beaaf [
file
] [
log
] [
blame
]
#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
;
}