Archived
1
0
Fork 0

docs: update strbuf and added xalloc.

This commit is contained in:
H Hautakoski 2010-09-20 21:53:23 +02:00 committed by Henrik Hautakoski
parent 4ca920dc01
commit c5458d982b
2 changed files with 41 additions and 0 deletions

View file

@ -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.