optionNextValue(3)



optionNextValue

NAME
SYNOPSIS
DESCRIPTION
RETURN VALUE
ERRORS
SEE ALSO

NAME

optionNextValue - get the next value from a hierarchical list

SYNOPSIS

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

const tOptionValue* optionNextValue(const tOptionValue* pOptValue, const tOptionValue* pOldValue);

DESCRIPTION

This routine will return the next entry after the entry passed in. At the end of the list, NULL will be returned. If the entry is not found on the list, NULL will be returned and "errno" will be set to EINVAL. The "pOldValue" must have been gotten from a prior call to this routine or to "opitonGetValue()".
pOptValue

a hierarchcal list value

pOldValue

a value from this list

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 or pOldValue does not point to a member of that option value.

ENOENT − the supplied pOldValue pointed to the last entry. @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), optionGetValue(3), optionLoadLine(3), optionMemberList(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/pcilib.7.html
pcilib(7) - a library for accessing PCI devices (Man Page)
The PCI library (also known as pcilib and libpci) is a portable library for accessing PCI devices and their configuration space. ACCESS METHODS The library supp

manpages/IO::AtomicFile.3pm.html
IO::AtomicFile(3pm) - write a file which is updated atomical
This module is intended for people who need to update files reliably in the face of unexpected program termination. For example, you generally dont want to be h

manpages/perlootut.1.html
perlootut(1) ObjectOriented Programming in Perl Tutorial....
This document provides an introduction to object-oriented programming in Perl. It begins with a brief overview of the concepts behind object oriented design. Th

manpages/pr.1.html
pr(1) - convert text files for printing - Linux manual page
Paginate or columnate FILE(s) for printing. Mandatory arguments to long options are mandatory for short options too. +FIRST_PAGE[:LAST_PAGE], --pages=FIRST_PAGE

manpages/glLightiv.3gl.html
glLightiv(3gl) - set light source parameters (Man Page).....
glLight sets the values of individual light source parameters. light names the light and is a symbolic name of the form GL_LIGHT$i$, where 0 &lt;= i &lt; GL_MAX_LIGHT

manpages/xfreerdp.1.html
xfreerdp(1) FreeRDP X11 client (Commands - Linux man page)
xfreerdp is an X11 Remote Desktop Protocol (RDP) client which is part of the FreeRDP project. An RDP server is built-in to many editions of Windows. Alternative

manpages/pcre_copy_substring.3.html
pcre_copy_substring(3) - Perl-compatible regular expressions
This is a convenience function for extracting a captured substring into a given buffer. The arguments are: subject Subject that has been successfully matched ov

manpages/euidaccess.3.html
euidaccess(3) - check effective user's permissions for a fil
Like access(2), euidaccess() checks permissions and existence of the file identified by its argument pathname. However, whereas access(2), performs checks using

top/.del/cmds.html
Linux Concepts, Commands and Examples
Linux Concepts, Commands and the Command Interpreter. Examples and explanations of key commands, concepts and information sources. Describes I/O, redirection, expansion, pipes, etc. Contains links to Linux manpages.

manpages/git-difftool.1.html
git-difftool(1) - Show changes using common diff tools......
git difftool is a Git command that allows you to compare and edit files between revisions using common diff tools. git difftool is a frontend to git diff and ac

manpages/vfs_acl_tdb.8.html
vfs_acl_tdb(8) - Save NTFS-ACLs in a tdb file (Man Page)....
This VFS module is part of the samba(7) suite. The vfs_acl_tdb VFS module stores NTFS Access Control Lists (ACLs) in a tdb file. This enables the full mapping o

manpages/TAILQ_REMOVE.3.html
TAILQ_ENTRY(3) implementations of lists, tail queues, and ci
These macros define and operate on three types of data structures: lists, tail queues, and circular queues. All three structures support the following functiona





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