7.6.32.15 optionRestore

restore option state from memory copy

Usage:

optionRestore( pOpts );

Where the arguments are:

Name

Type

Description

—–

—–

————-

pOpts

tOptions *

program options descriptor

Copy back the option state from saved memory.
The allocated memory is left intact, so this routine can be
called repeatedly without having to call optionSaveState again.
If you are restoring a state that was saved before the first call
to optionProcess(3AO), then you may change the contents of the
argc/argv parameters to optionProcess.

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

This document was generated by Bruce Korb on August 21, 2015 using texi2html 1.82.