Sign in
android
/
platform
/
external
/
syslinux
/
76d05dc695b06c4e987bb8078f78032441e1430c
/
.
/
com32
/
lib
/
strrchr.c
blob: a7d2fee78ffb6d1913a09220bd190e341081ce44 [
file
] [
log
] [
blame
]
/*
* strrchr.c
*/
#include
<string.h>
char
*
strrchr
(
const
char
*
s
,
int
c
)
{
const
char
*
found
=
NULL
;
while
(*
s
)
{
if
(*
s
==
(
char
)
c
)
found
=
s
;
s
++;
}
return
(
char
*)
found
;
}