|
#include <cstring/cstring.h>
Represents a cstring as a string slice - length + pointer - along with the allocated capacity, and flags controlling the allocation arena and other characteristics.
Public Attributes | |
size_t | len |
char * | ptr |
size_t | capacity |
cstring_flags_t | flags |
size_t capacity |
Number of bytes available.
Flags. Currently unused.
size_t len |
Number of characters.
char* ptr |
Pointer to the string.
|
cstring Library documentation © Matthew Wilson and Synesis Software Pty Ltd, 1994-2007 |