optionGetValue - get a specific value from a hierarcical list


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

   const  tOptionValue  *  optionGetValue(const  tOptionValue * pOptValue,
   char const * valueName);


   This  routine  will  find  an  entry  in  a  nested  value  option   or
   configurable.   If  "valueName"  is  NULL,  then  the  first  entry  is
   returned.  Otherwise, the first entry with a name that exactly  matches
   the  argument will be returned.  If there is no matching value, NULL is
   returned and errno is set to ENOENT. If the provided  option  value  is
   not  a  hierarchical  value,  NULL is also returned and errno is set to

          a hierarchcal value

          name of value to get


   a compound value structure


   The returned result is NULL and errno is set:

   EINVAL - the pOptValue does not point to a  valid  hierarchical  option

   ENOENT - no entry matched the given name.  @end itemize


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

                              2016-10-30                 optionGetValue(3)

More Linux Commands

glTexEnvi(3gl) - set texture environment parameters.........
A texture environment specifies how texture values are interpreted when a fragment is textured. target must be GL_TEXTURE_ENV. pname can be either GL_TEXTURE_EN

option(n) - Add/retrieve window options to/from the option d
The option command allows you to add entries to the Tk option database or to retrieve options from the database. The add form of the command adds a new option t

Pod::Perldoc::ToTk(3pm) - let Perldoc use Tk::Pod to render
This is a plug-in class that allows Perldoc to use Tk::Pod as a formatter class. You have to have installed Tk::Pod first, or this class wont load. SEE ALSO Tk:

acoshf(3) - inverse hyperbolic cosine function (Man Page)...
The acosh() function calculates the inverse hyperbolic cosine of x; that is the value whose hyperbolic cosine is x. RETURN VALUE On success, these functions ret

git-repo-config(1) - Get and set repository or global option
This is a synonym for git-config(1). Please refer to the documentation of that command. GIT Part of the git(1) suite git-repo-config.1 (Commands - Linux manual

fc-list(1) - list available fonts - Linux manual page.......
fc-list lists fonts and styles available on the system for applications using fontconfig. If any elements are specified, only those are printed. Otherwise famil

tidy(1) validate, correct, and pretty-print HTML files br (v
OPTIONS SEE ALSO AUTHOR NAME tidy validate, correct, and pretty-print HTML files (version: 25 March 2009) SYNOPSIS tidy [option ...] [file ...] [option ...] [fi

unget_wch_sp(3ncurses) - curses screen-pointer extension....
This implementation can be configured to provide a set of functions which improve the ability to manage multiple screens. This feature can be added to any of th

XISetClientPointer(3) - set or get the ClientPointer device
The ClientPointer is the device that is percieved to be the core pointer for non-XI protocol requests and replies. Each time a protocol message needs device-dep

Tcl_Preserve(3) - avoid freeing storage while it is being us
These three procedures help implement a simple reference count mechanism for managing storage. They are designed to solve a problem having to do with widget del

XSetFont(3) - GC convenience routines - Linux manual page...
The XSetFont function sets the current font in the specified GC. XSetFont can generate BadAlloc, BadFont, and BadGC errors. DIAGNOSTICS BadAlloc The server fail

Tcl_ExposeCommand(3) - manage multiple Tcl interpreters, ali
These procedures are intended for access to the multiple interpreter facility from inside C programs. They enable managing multiple interpreters in a hierarchic

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