Atrinik Server 2.5
Data Fields
StringBuffer_struct Struct Reference

#include <stringbuffer.h>

Data Fields

char * buf
size_t pos
size_t size

Detailed Description

The string buffer state.

Definition at line 35 of file stringbuffer.h.


Field Documentation

The string buffer. The first ::pos bytes contain the collected string. Its size is at least ::bytes.

Definition at line 40 of file stringbuffer.h.

The current length of ::buf. The invariant pos < size always holds; this means there is always enough room to attach a trailing NUL character.

Definition at line 46 of file stringbuffer.h.

The allocation size of ::buf.

Definition at line 50 of file stringbuffer.h.


The documentation for this struct was generated from the following file: