| libstring
    simple flexible string manipulation library | 
#include <libstring.h>
| Data Fields | |
| uint16_t | len | 
| uint16_t | tot | 
| unsigned char | tmp | 
| unsigned char | flg | 
Main string type used by the library
Most of the time, the user interacts only with the "string". Internally, however, this is how strings are represented.
The value of the string itself follows after this small header. That is the memory address returned by a function.
IMPORTANT DISAMBIGUATION:
string_real.len is a length! string_real.tot is a size!
| unsigned char _string_real::flg | 
flag telling that this is a string
| uint16_t _string_real::len | 
length of the string
| unsigned char _string_real::tmp | 
flag telling if this string should be free'd after use
| uint16_t _string_real::tot | 
total amount of memory allocated to the string
 1.8.6
 1.8.6