optionRestore - restore option state from memory copy


   #include <your-opts.h>
   cc [...] -o outfile infile.c -lopts [...]

   void optionRestore(tOptions * pOpts);


   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.

   pOpts  program options descriptor


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


   The info documentation for the -lopts library.
   ao_string_tokenize(3),      configFileLoad(3),       optionFileLoad(3),
   optionFindNextValue(3),        optionFindValue(3),       optionFree(3),
   optionGetValue(3),       optionLoadLine(3),        optionMemberList(3),
   optionNextValue(3),      optionOnlyUsage(3),     optionPrintVersion(3),
   optionPrintVersionAndReturn(3),  optionProcess(3),   optionSaveFile(3),
   optionSaveState(3),       optionUnloadNested(3),      optionVersion(3),
   strequate(3),      streqvcmp(3),      streqvmap(3),      strneqvcmp(3),

                              2016-10-30                  optionRestore(3)

More Linux Commands

glutSolidOctahedron(3) - render a solid or wireframe octahed
glutSolidOctahedron and glutWireOctahedron render a solid or wireframe octahedron respectively centered at the modeling coordinates origin with a radius of 1.0.

sgetspent_r(3) - get shadow password file entry (Man Page)
Long ago it was considered safe to have encrypted passwords openly visible in the password file. When computers got faster and people got more security-consciou

newsgroups(5) - List of newsgroups and their short descripti
ENCODING OF THE DESCRIPTIONS MINIMAL NEWSGROUPS FILE HISTORY SEE ALSO NAME newsgroups - List of newsgroups and their short descriptions DESCRIPTION The file pat

lexgrog(1) - parse header information in man pages (ManPage)
lexgrog is an implementation of the traditional groff guess utility in lex. It reads the list of files on its command line as either man page source files or pr

ttyname(3) - return name of a terminal - Linux manual page
The function ttyname() returns a pointer to the null-terminated pathname of the terminal device that is open on the file descriptor fd, or NULL on error (for ex

Tk_GetPixels(3) - translate between strings and screen units
These procedures take as argument a specification of distance on the screen (objPtr or string) and compute the corresponding distance either in integer pixels o

glMapGrid2d(3gl) - define a one- or two-dimensional mesh....
glMapGrid and glEvalMesh are used together to efficiently generate and evaluate a series of evenly-spaced map domain values. glEvalMesh steps through the intege

Memoize::ExpireTest(3pm) - test for Memoize expiration seman
This module is just for testing expiration semantics. Its not a very good example of how to write an expiration module. If you are looking for an example, I rec

gnutls_x509_crt_get_proxy(3) - API function - Linux man page
This function will get information from a proxy certificate. It reads the ProxyCertInfo X.509 extension ( RETURNS On success, GNUTLS_E_SUCCE

XkbKeySymEntry(3) - Returns the keysym corresponding to shif
XkbKeySymEntry.3 - The key width and number of groups associated with a key are used to form a small two-dimensional array of KeySyms for a key. This array may

TYPE_INTEGER(3form) - form system global variables (ManPage)
These are building blocks for the form library, defining fields that can be created using set_fieldtype(3X). Each provides functions for field- and character-va

Tcl_DeleteEvents(3) - the event queue and notifier interface
The interfaces described here are used to customize the Tcl event loop. The two most common customizations are to add new sources of events and to merge Tcls ev

We can't live, work or learn in freedom unless the software we use is free.