AutoGen: libopts-optionRestore

[ < ] | [ > ] |  | [ << ] | [ Up ] | [ >> ] |  |  |  |  | [Top] | [Contents] | [Index] | [ ? ]

#### 7.4.28.4 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 October 24, 2004 using texi2html