MMgr v2.3.0
Zero-heap memory manager in C11. One borrowed buffer, carved by asserted offset.
Loading...
Searching...
No Matches
VerbaFinisCfg Struct Reference

Arguments for the entries that write the buffer itself, with no value to place in it. More...

#include <verba_scribo.h>

Data Fields

char *const out
const size_t cap
const size_t at

Detailed Description

Arguments for the entries that write the buffer itself, with no value to place in it.

Note
finish stores a byte at at, and so it needs out. The ok entry compares at against cap and reads neither the buffer nor a value. So out may stay unset for it.

Definition at line 182 of file verba_scribo.h.

Field Documentation

◆ out

char* const VerbaFinisCfg::out

Destination buffer [BORROWS]. ok leaves it unset.

Definition at line 184 of file verba_scribo.h.

◆ cap

const size_t VerbaFinisCfg::cap

Bytes available in out.

Definition at line 185 of file verba_scribo.h.

◆ at

const size_t VerbaFinisCfg::at

Offset reached.

Definition at line 186 of file verba_scribo.h.


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