common/strbuf: new function strbuf_term
This commit is contained in:
parent
2c2c0781d9
commit
8b0772d0f1
3 changed files with 30 additions and 2 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_term(strbuf_t *s, char ch);
|
||||
|
||||
void strbuf_trim(strbuf_t *s);
|
||||
|
||||
void strbuf_rtrim(strbuf_t *s);
|
||||
|
|
|
|||
Reference in a new issue