diff options
Diffstat (limited to 'string/string.h')
-rw-r--r-- | string/string.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/string/string.h b/string/string.h index 6c913a8..03cf103 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 |