optionGetValue(3)



optionGetValue

NAME
SYNOPSIS
DESCRIPTION
RETURN VALUE
ERRORS
SEE ALSO

NAME

optionGetValue - get a specific value from a hierarcical list

SYNOPSIS

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

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

DESCRIPTION

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 EINVAL.
pOptValue

a hierarchcal value

valueName

name of value to get

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), optionFindValue(3), optionFree(3), optionLoadLine(3), optionMemberList(3), optionNextValue(3), optionOnlyUsage(3), optionProcess(3), optionRestore(3), optionSaveFile(3), optionSaveState(3), optionUnloadNested(3), optionVersion(3), strequate(3), streqvcmp(3), streqvmap(3), strneqvcmp(3), strtransform(3),




More Linux Commands

manpages/glTexEnvi.3gl.html
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

manpages/option.n.html
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

manpages/Pod::Perldoc::ToTk.3pm.html
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:

manpages/acoshf.3.html
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

manpages/git-repo-config.1.html
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

manpages/fc-list.1.html
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

manpages/tidy.1.html
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

manpages/unget_wch_sp.3ncurses.html
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

manpages/XISetClientPointer.3.html
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

manpages/Tcl_Preserve.3.html
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

manpages/XSetFont.3.html
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

manpages/Tcl_ExposeCommand.3.html
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.