projects
/
oweals
/
musl.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
only use memcpy realloc to shrink if an exact-sized free chunk exists
[oweals/musl.git]
/
src
/
string
/
strrchr.c
1
#include <string.h>
2
3
char *strrchr(const char *s, int c)
4
{
5
return __memrchr(s, c, strlen(s) + 1);
6
}