libbb: add is_suffixed_with() function
Signed-off-by: Bartosz Golaszewski <bartekgola@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
committed by
Denys Vlasenko
parent
5b865deb3f
commit
7448b513c8
@ -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;
|
||||
|
Reference in New Issue
Block a user