|
CX Framework
Cross-platform C utility framework
|
#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. | |
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.