optionUnloadNested(3)

NAME πŸ’–

optionUnloadNested β€” deallocate the memory for a nested value ✨. Yes, bestie, this is the optionUnloadNested(3) page, and it lives in the Programmer's Manual β€” it’s giving short-but-important cleanup era. πŸŽ€


SYNOPSIS ✨

Okay so here’s the exact setup, no cap:

#include <your-opts.h>
cc [...] -o outfile infile.c -lopts [...]

void optionUnloadNested(tOptionValue const * pOptVal);

DESCRIPTION 🧹

A nested value needs to be deallocated. The pointer you pass in should have been gotten from a call to configFileLoad() (See @pxref{libopts-configFileLoad}). Like, that pointer has lore and the lore starts at configFileLoad() β€” don’t just invent a random one, fr fr. 🫢

  • pOptVal β€” the hierarchical value πŸ‘‘. That’s the whole parameter vibe.

SEE ALSO 🌈

The info documentation for the -lopts library. πŸ“š

Also, the whole friend group: ao_string_tokenize(3), configFileLoad(3), optionFileLoad(3), optionFindNextValue(3), optionFindValue(3), optionFree(3), optionGetValue(3), optionLoadLine(3), optionMemberList(3), optionNextValue(3), optionOnlyUsage(3), optionPrintVersion(3), optionPrintVersionAndReturn(3), optionProcess(3), optionRestore(3), optionSaveFile(3), optionSaveState(3), optionVersion(3), strequate(3), streqvcmp(3), streqvmap(3), strneqvcmp(3), strtransform(3), β€” yes, that’s everyone, periodt. πŸ’…


πŸ’– That’s the page, bestie! From the Programmer's Manual, dated 2018-08-26 β€” go off and deallocate responsibly. πŸ’…βœ¨