Main Page | Modules | Alphabetical List | Data Structures | File List | Data Fields | Related Pages

str Struct Reference
[str: Dynamically allocated string library.]

The basic string structure. More...

#include <str.h>


Data Fields

char * s
 The pointer to the allocated data.

unsigned len
 The length of the string data inside the above block.

unsigned size
 The size of the above block.


Detailed Description

The basic string structure.

Note:
Initialize to {0,0,0}.


Field Documentation

unsigned str::len
 

The length of the string data inside the above block.

May be used directly by programs, but should not be assigned a non-zero value.

char* str::s
 

The pointer to the allocated data.

This string will always be terminated with a NUL byte to ensure compatibility with standard C string functions. May be used directly by programs, but should not be assigned.


The documentation for this struct was generated from the following file:
Generated on Mon Dec 1 13:28:06 2003 for bglibs by doxygen 1.3.3