commit | 17282292c2259b130ef7833bdac97c8ce8bf5515 | [log] [tgz] |
---|---|---|
author | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | Wed May 28 14:19:27 2008 +0000 |
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | Wed May 28 14:19:27 2008 +0000 |
tree | 2740c55326f87a057cb7652d03582d5a9bfb0f48 | |
parent | 5de8a13b0888e6eb490e13cba2cca293ee8bc4ad [diff] [blame] |
- add strrchr
diff --git a/include/libbb.h b/include/libbb.h index 0d6e3af..947f28d 100644 --- a/include/libbb.h +++ b/include/libbb.h
@@ -244,6 +244,7 @@ extern void trim(char *s); extern char *skip_whitespace(const char *); extern char *skip_non_whitespace(const char *); +extern char *strrstr(const char *haystack, const char *needle); //TODO: supply a pointer to char[11] buffer (avoid statics)? extern const char *bb_mode_string(mode_t mode);