1optionFree(3) Programmer's Manual optionFree(3)
2
3
4
6 optionFree - free allocated option processing memory
7
8
10 #include <your-opts.h>
11 cc [...] -o outfile infile.c -lopts [...]
12
13 void optionFree(tOptions * pOpts);
14
15
17 AutoOpts sometimes allocates memory and puts pointers to it in the op‐
18 tion state structures. This routine deallocates all such memory.
19
20 pOpts program options descriptor
21
22
24 As long as memory has not been corrupted, this routine is always suc‐
25 cessful.
26
28 The info documentation for the -lopts library.
29 ao_string_tokenize(3), configFileLoad(3), optionFileLoad(3), option‐
30 FindNextValue(3), optionFindValue(3), optionGetValue(3), optionLoad‐
31 Line(3), optionMemberList(3), optionNextValue(3), optionOnlyUsage(3),
32 optionPrintVersion(3), optionPrintVersionAndReturn(3), optionPro‐
33 cess(3), optionRestore(3), optionSaveFile(3), optionSaveState(3), op‐
34 tionUnloadNested(3), optionVersion(3), strequate(3), streqvcmp(3),
35 streqvmap(3), strneqvcmp(3), strtransform(3),
36
37
38
39 2021-01-26 optionFree(3)