Gitiles
Code Review
Sign In
android-review.linaro.org
/
platform
/
external
/
syslinux
/
refs/heads/oreo-mr1-1.2-iot-release
/
.
/
com32
/
lib
/
strchr.c
blob: cd3ec780c8f9d76b714fdcca1e82725dd8ed9919 [
file
] [
log
] [
blame
]
/*
* strchr.c
*/
#include
<string.h>
char
*
strchr
(
const
char
*
s
,
int
c
)
{
while
(*
s
!=
(
char
)
c
)
{
if
(!*
s
)
return
NULL
;
s
++;
}
return
(
char
*)
s
;
}