MCPcopy Create free account
hub / github.com/CloverHackyColor/CloverBootloader / strrchr

Function strrchr

Library/OpensslLib/SysCall/CrtWrapper.c:134–146  ·  view source on GitHub ↗

Scan a string for the last occurrence of a character */

Source from the content-addressed store, hash-verified

132
133/* Scan a string for the last occurrence of a character */
134char *strrchr (const char *str, int c)
135{
136 char * save;
137
138 for (save = NULL; ; ++str) {
139 if (*str == c) {
140 save = (char *)str;
141 }
142 if (*str == 0) {
143 return (save);
144 }
145 }
146}
147
148/* Read formatted data from a string */
149int sscanf (const char *buffer, const char *format, ...)

Callers 13

FileNameFunction · 0.85
ParseParamsFunction · 0.85
support.cFile · 0.85
genmk.cFile · 0.85
lex.cFile · 0.85
main.cFile · 0.85
ParseSectionFunction · 0.85
check_binary_integrityFunction · 0.85
mainFunction · 0.85
vms_loadFunction · 0.85
module_findFunction · 0.85
do_createFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected