diff options
author | Bartosz Golaszewski | 2015-08-25 16:36:43 +0200 |
---|---|---|
committer | Denys Vlasenko | 2015-08-25 16:36:43 +0200 |
commit | 7448b513c84feb3fd06fc57b39f5ab450970c01e (patch) | |
tree | de8a5238b249f7c452d424b437357721971ece15 /include | |
parent | 5b865deb3f2eafa1dcefabedf4af17a4c72f6cb8 (diff) | |
download | busybox-7448b513c84feb3fd06fc57b39f5ab450970c01e.zip busybox-7448b513c84feb3fd06fc57b39f5ab450970c01e.tar.gz |
libbb: add is_suffixed_with() function
Signed-off-by: Bartosz Golaszewski <bartekgola@gmail.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/libbb.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/libbb.h b/include/libbb.h index 2e20706..543214e 100644 --- a/include/libbb.h +++ b/include/libbb.h @@ -413,6 +413,7 @@ const char *bb_basename(const char *name) FAST_FUNC; char *last_char_is(const char *s, int c) FAST_FUNC; const char* endofname(const char *name) FAST_FUNC; char *is_prefixed_with(const char *string, const char *key) FAST_FUNC; +char *is_suffixed_with(const char *string, const char *key) FAST_FUNC; int ndelay_on(int fd) FAST_FUNC; int ndelay_off(int fd) FAST_FUNC; |