aboutsummaryrefslogtreecommitdiffstats
path: root/memory/strrchr.c
diff options
context:
space:
mode:
Diffstat (limited to 'memory/strrchr.c')
-rw-r--r--memory/strrchr.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/memory/strrchr.c b/memory/strrchr.c
new file mode 100644
index 0000000..96a04eb
--- /dev/null
+++ b/memory/strrchr.c
@@ -0,0 +1,6 @@
+#include "memory.h"
+
+char *strrchr(char const *buffer, int value)
+{
+ return memrchr(buffer, value, strlen(buffer) + 1);
+}