Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remove an assertion I forgot to remove in the previous commit: sbuf_len() | des | 2001-01-28 | 1 | -1/+2 |
| | | | | | | may now be called with an unfinished sbuf. For consistency, copy the related comment from sbuf_delete() to sbuf_clear() and sbuf_len(). | ||||
* | Add sbuf_clear() and sbuf_overflowed(). | des | 2001-01-28 | 1 | -13/+49 |
| | | | | | | | | | | Move the helper macros from sbuf.h to sbuf.c Use ints instead of size_ts. Relax the requirements for sbuf_finish(): it is now possible to finish an overflowed buffer. Make sbuf_len() return -1 instead of 0 if the sbuf overflowed. Requested by: gibbs | ||||
* | String buffer API | des | 2000-12-13 | 1 | -0/+271 |