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
18 option 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), optionNextValue(3), optionOnlyUsage(3), optionProcess(3),
32 optionRestore(3), optionSaveFile(3), optionSaveState(3), optionUnload‐
33 Nested(3), optionVersion(3), pathfind(3), strequate(3), streqvcmp(3),
34 streqvmap(3), strneqvcmp(3), strtransform(3),
35
36
37
38 2008-02-27 optionFree(3)