1optionRestore(3)              Programmer's Manual             optionRestore(3)
2
3
4

NAME

6       optionRestore - restore option state from memory copy
7
8

SYNOPSIS

10       #include <your-opts.h>
11       cc [...] -o outfile infile.c -lopts [...]
12
13       void optionRestore(tOptions* pOpts);
14
15

DESCRIPTION

17       Copy  back the option state from saved memory.  The allocated memory is
18       left intact, so this routine can be called repeatedly without having to
19       call  optionSaveState  again.   If  you  are restoring a state that was
20       saved before the first call to optionProcess(3AO), then you may  change
21       the contents of the argc/argv parameters to optionProcess.
22
23       pOpts  program options descriptor
24
25

ERRORS

27       If  you have not called optionSaveState before, a diagnostic is printed
28       to stderr and exit is called.
29

SEE ALSO

31       The info documentation for the -lopts library.
32       ao_string_tokenize(3),  configFileLoad(3),  optionFileLoad(3),  option‐
33       FindNextValue(3), optionFindValue(3), optionFree(3), optionGetValue(3),
34       optionLoadLine(3), optionNextValue(3),  optionOnlyUsage(3),  optionPro‐
35       cess(3),  optionSaveFile(3), optionSaveState(3), optionUnloadNested(3),
36       optionVersion(3),  pathfind(3),   strequate(3),   streqvcmp(3),   stre‐
37       qvmap(3), strneqvcmp(3), strtransform(3),
38
39
40
41                                  2009-08-10                  optionRestore(3)
Impressum