MMgr v1.0.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. ok compares at against cap and reads neither the buffer nor a value, and so out may be left unset for it.

Definition at line 179 of file verba_scribo.h.

Field Documentation

◆ out

char* const VerbaFinisCfg::out

Destination buffer [BORROWS]. ok leaves it unset.

Definition at line 181 of file verba_scribo.h.

◆ cap

const size_t VerbaFinisCfg::cap

Bytes available in out.

Definition at line 182 of file verba_scribo.h.

◆ at

const size_t VerbaFinisCfg::at

Offset reached.

Definition at line 183 of file verba_scribo.h.


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