|
strb_t
String buffer interface for C
|
String buffer state. More...
#include <strb.h>
String buffer state.
An object type capable of recording all the information needed to control a string buffer, including a position indicator, the buffer’s size, the length of the string in the buffer, and an error indicator. It is a complete type so it can be used for storage allocation, but its members are unspecified.
An object of type strbstate_t can only be used to construct strb_t objects. Its storage duration must exceed the program's usage of any strb_t pointers derived from it. The effect on any derived strb_t object of modifying the originating strbstate_t object is undefined.