optionFindValue(3)


NAME

   optionFindValue - find a hierarcicaly valued option instance

SYNOPSIS

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

   const tOptionValue * optionFindValue(const tOptDesc * odesc, char const
   * name, char const * val);

DESCRIPTION

   This  routine  will  find  an  entry  in  a  nested  value  option   or
   configurable.   It  will  search through the list and return a matching
   entry.

   odesc  an option with a nested arg type

   name   name of value to find

   val    the matching value

RETURN VALUE

   a compound value structure

ERRORS

   The returned result is NULL and errno is set:

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

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

SEE ALSO

   The info documentation for the -lopts library.
   ao_string_tokenize(3),       configFileLoad(3),      optionFileLoad(3),
   optionFindNextValue(3),        optionFree(3),        optionGetValue(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                optionFindValue(3)


More Linux Commands

manpages/CPU_CLR_S.3.html
CPU_CLR_S(3) - macros for manipulating CPU sets (Man Page)
The cpu_set_t data structure represents a set of CPUs. CPU sets are used by sched_setaffinity(2) and similar interfaces. The cpu_set_t data type is implemented

manpages/pax.1.html
pax(1) - read and write file archives and copy directory hie
pax will read, write, and list the members of an archive file, and will copy directory hierarchies. pax operation is independent of the specific archive format,

manpages/XSetWMIconName.3.html
XSetWMIconName(3) - set or read a window's WM_ICON_NAME prop
The XSetWMIconName convenience function calls XSetTextProperty to set the WM_ICON_NAME property. The XGetWMIconName convenience function calls XGetTextProperty

manpages/ldap_sync.3.html
ldap_sync(3) - LDAP sync routines - Linux manual page.......
These routines provide an interface to the LDAP Content Synchronization operation (RFC 4533). They require an ldap_sync_t structure to be set up with parameters

manpages/vgconvert.8.html
vgconvert(8) - convert volume group metadata format.........
vgconvert converts VolumeGroupName metadata from one format to another provided that the metadata fits into the same space. OPTIONS See lvm(8) and pvcreate(8) f

manpages/ifrename.8.html
ifrename(8) - rename network interfaces based on various sta
Ifrename is a tool allowing you to assign a consistent name to each of your network interface. By default, interface names are dynamic, and each network interfa

manpages/XShapeOffsetShape.3.html
XShapeOffsetShape(3) - X nonrectangular shape functions.....
The X11 Nonrectangular Window Shape Extension adds nonrectangular windows to the X Window System. PREDEFINED VALUES Operations: ShapeSet ShapeUnion ShapeInterse

manpages/sd_is_socket_unix.3.html
sd_is_socket_unix(3) - Check the type of a file descriptor
sd_is_fifo() may be called to check whether the specified file descriptor refers to a FIFO or pipe. If the path parameter is not NULL, it is checked whether the

manpages/gnutls_global_set_mem_functions.3.html
gnutls_global_set_mem_functions(3) - API function (ManPage)
This is the function were you set the memory allocation functions gnutls is going to use. By default the libcs allocation functions (malloc(), free()), are used

manpages/socket.n.html
socket(n) - Open a TCP network connection - Linux man page
This command opens a network socket and returns a channel identifier that may be used in future invocations of commands like read, puts and flush. At present on

manpages/IsMiscFunctionKey.3.html
IsMiscFunctionKey(3) - keysym classification macros.........
The IsCursorKey macro returns True if the specified KeySym is a cursor key. The IsFunctionKey macro returns True if the KeySym is a function key. The IsKeypadKe

manpages/ppmtojpeg.1.html
ppmtojpeg(1) - replaced by pnmtojpeg - Linux manual page....
This program is part of Netpbm(1) ppmtojpeg was replaced in Netpbm 9.19 (September 2001) by pnmtojpeg(1) pnmtojpeg is backward compatible with ppmtojpeg except





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