CX Framework
Cross-platform C utility framework
Loading...
Searching...
No Matches
LogMembufData Struct Reference

#include <logmembuf.h>

Data Fields

uint32 size
 Total buffer size in bytes.
 
uint32 cur
 Current write position (number of bytes written)
 
char * buf
 Buffer storage.
 

Detailed Description

Memory buffer log destination state

Contains the circular buffer and current write position. When cur reaches size, new messages wrap to the beginning. The buffer is null-terminated when possible.

Definition at line 38 of file logmembuf.h.


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