about summary refs log tree commit diff
path: root/string
diff options
context:
space:
mode:
Diffstat (limited to 'string')
-rw-r--r--string/string.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/string/string.h b/string/string.h
index 6c913a85c6..03cf103ad6 100644
--- a/string/string.h
+++ b/string/string.h
@@ -64,6 +64,10 @@ extern __ptr_t memchr __P ((__const __ptr_t __s, int __c, size_t __n));
 /* Search in S for C.  This is similar to `memchr' but there is no
    length limit.  */
 extern __ptr_t rawmemchr __P ((__const __ptr_t __s, int __c));
+
+/* Search N bytes of S for the final occurrence of C.  */
+extern __ptr_t __memrchr __P ((__const __ptr_t __s, int __c, size_t __n));
+extern __ptr_t memrchr __P ((__const __ptr_t __s, int __c, size_t __n));
 #endif