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. π
β¨
π¦ where this page comes from
- debian trixie: libopts25-dev 1:5.18.16-7 Β· GPL-3.0-or-later
- nixpkgs unstable: autogen 5.18.16
- ubuntu questing: libopts25-dev 1:5.18.16-7build1
- ubuntu resolute: libopts25-dev 1:5.18.16-7build2 Β· GPL-3.0-or-later
- ubuntu stonking: libopts25-dev 1:5.18.16-9 Β· GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms