common/strbuf: added chop function
This commit is contained in:
parent
69b418472e
commit
3abbb2b63e
3 changed files with 42 additions and 0 deletions
|
|
@ -39,6 +39,8 @@ void strbuf_append_str(strbuf_t *s, const char *str);
|
|||
|
||||
void strbuf_append_ch(strbuf_t *s, char ch);
|
||||
|
||||
void strbuf_rchop(strbuf_t *s, char ch);
|
||||
|
||||
void strbuf_term(strbuf_t *s, char ch);
|
||||
|
||||
void strbuf_trim(strbuf_t *s);
|
||||
|
|
|
|||
Reference in a new issue