Chromium Code Reviews| Index: fusl/src/string/strrchr.c |
| diff --git a/fusl/src/string/strrchr.c b/fusl/src/string/strrchr.c |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..635fb3c1dcde17abaf662e8cb9952c00e45f5471 |
| --- /dev/null |
| +++ b/fusl/src/string/strrchr.c |
| @@ -0,0 +1,8 @@ |
| +#include <string.h> |
| + |
| +void *__memrchr(const void *, int, size_t); |
| + |
| +char *strrchr(const char *s, int c) |
| +{ |
| + return __memrchr(s, c, strlen(s) + 1); |
| +} |