Data Fields | |
char * | buf |
size_t | pos |
size_t | size |
Definition at line 32 of file stringbuffer.c.
char* buf |
The string buffer. The first pos bytes contain the collected string. It's size is at least size bytes.
Definition at line 37 of file stringbuffer.c.
size_t pos |
The current length of buf. The invariant pos < size
always holds; this means there is always enough room to attach a trailing character.
Definition at line 44 of file stringbuffer.c.
size_t size |
The allocation size of buf.
Definition at line 49 of file stringbuffer.c.