diff options
author | Rich Felker <dalias@aerifal.cx> | 2011-04-13 08:36:29 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2011-04-13 08:36:29 -0400 |
commit | 6597f9ac133fd4f47dea307d6260fd52eae77816 (patch) | |
tree | 980c26e132ffeb5f1d6d5a8bec383c61cb0550bf /include/string.h | |
parent | 750b738e53f799443fcfcd3a0751318c072a022f (diff) | |
download | musl-6597f9ac133fd4f47dea307d6260fd52eae77816.zip musl-6597f9ac133fd4f47dea307d6260fd52eae77816.tar.gz musl-6597f9ac133fd4f47dea307d6260fd52eae77816.tar.bz2 |
implement memrchr (nonstandard) and optimize strrchr in terms of it
Diffstat (limited to 'include/string.h')
-rw-r--r-- | include/string.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/string.h b/include/string.h index c755c60..4fc89e9 100644 --- a/include/string.h +++ b/include/string.h @@ -74,6 +74,7 @@ int strncasecmp (const char *, const char *, size_t); char *strchrnul(const char *, int); char *strcasestr(const char *, const char *); char *strsep(char **, const char *); +void *memrchr(const void *, int, size_t); #endif #ifdef __cplusplus |