__cstring Struct Reference

#include <cstring.h>


Data Fields

char * base
size_t len
size_t curlen


Detailed Description

Structure wrapping the character pointer and size counters (allocated vs. actual used).


Field Documentation

char* base
 

Base address of the string.

size_t curlen
 

Current size of the string stored in the buffer. len >= curlen always, and when len < curlen would be true after a concat operation, we realloc bigger space to keep len >= curlen.

size_t len
 

Size of the memory allocated and pointed to by the base pointer.


Generated on Thu Oct 25 01:19:37 2007 for Small, Fast S-Expression Library by  doxygen 1.4.6