docs: update strbuf and added xalloc.
This commit is contained in:
parent
4ca920dc01
commit
c5458d982b
2 changed files with 41 additions and 0 deletions
|
|
@ -55,6 +55,10 @@ strbuf_squeeze():
|
|||
|
||||
Squeezes "together" sequences of 'ch' into one character.
|
||||
|
||||
strbuf_term():
|
||||
|
||||
ensure the string is terminated with 'ch'. will not change the string if it is already terminated.
|
||||
|
||||
strbuf_release():
|
||||
|
||||
This function should be used to detach the ->buf member from the strbuf_t structure.
|
||||
|
|
|
|||
Reference in a new issue