NAME
optionLoadLine - process a string for an option name and value
SYNOPSIS
#include <your-opts.h> cc [...] -o outfile infile.c -lopts [...] void optionLoadLine(tOptions * opts, char const * line);
DESCRIPTION
This is a client program callable routine for setting options from, for example, the contents of a file that they read in. Only one option may appear in the text. It will be treated as a normal (non-preset) option. When passed a pointer to the option struct and a string, it will find the option named by the first token on the string and set the option argument to the remainder of the string. The caller must NUL terminate the string. The caller need not skip over any introductory hyphens. Any embedded new lines will be included in the option argument. If the input looks like one or more quoted strings, then the input will be "cooked". The "cooking" is identical to the string formation used in AutoGen definition files (@pxref{basic expression}), except that you may not use backquotes. opts program options descriptor line NUL-terminated text
ERRORS
Invalid options are silently ignored. Invalid option arguments will cause a warning to print, but the function should return.
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), 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 optionLoadLine(3)
More Linux Commands
manpages/tk_patchLevel.n.html
tk_patchLevel(n) Variables used or set by Tk _______________
The following Tcl variables are either set or used by Tk at various times in its execution: tk_library This variable holds the file name for a directory contain
manpages/gnutls_pubkey_import_privkey.3.html
gnutls_pubkey_import_privkey(3) - API function (Man Page)...
Imports the public key from a private. This function will import the given public key to the abstract gnutls_pubkey_t structure. RETURNS On success, GNUTLS_E_SU
manpages/isalnum_l.3.html
isalnum_l(3) character classification functions (Man Page)
These functions check whether c, which must have the value of an unsigned char or EOF, falls into a certain character class according to the specified locale. T
manpages/pthread_attr_setinheritsched.3.html
pthread_attr_setinheritsched(3) - set/get inherit scheduler
The pthread_attr_setinheritsched() function sets the inherit-scheduler attribute of the thread attributes object referred to by attr to the value specified in i
manpages/XkbAllocGeometry.3.html
XkbAllocGeometry(3) - Allocate an entire geometry (ManPage)
XkbAllocGeometry.3 - Xkb provides a number of functions to allocate and free subcomponents of a keyboard geometry. Use these functions to create or modify keybo
manpages/gnutls_x509_crl_get_version.3.html
gnutls_x509_crl_get_version(3) - API function (Man Page)....
This function will return the version of the specified CRL. RETURNS The version number, or a negative error code on error. REPORTING BUGS Report bugs to <bug-gn
manpages/rexec_af.3.html
rexec_af(3) return stream to a remote command (Man Page)....
This interface is obsoleted by rcmd(3). The rexec() function looks up the host *ahost using gethostbyname(3), returning -1 if the host does not exist. Otherwise
manpages/Tcl_Realloc.3.html
Tcl_Realloc(3) - allocate or free heap memory (Man Page)....
These procedures provide a platform and compiler independent interface for memory allocation. Programs that need to transfer ownership of memory blocks between
manpages/jn.3.html
jn(3) - Bessel functions of the first kind - Linux man page
The j0() and j1() functions return Bessel functions of x of the first kind of orders 0 and 1, respectively. The jn() function returns the Bessel function of x o
manpages/__freadable.3.html
__freadable(3) - interfaces to stdio FILE structure.........
Solaris introduced routines to allow portable access to the internals of the FILE structure, and glibc also implemented these. The __fbufsize() function returns
manpages/ldap_memory.3.html
ldap_memory(3) - LDAP memory allocation routines (Man Page)
These routines are used to allocate/deallocate memory used/returned by the LDAP library. ldap_memalloc(), ldap_memcalloc(), ldap_memrealloc(), and ldap_memfree(
manpages/conjf.3.html
conjf(3) - calculate the complex conjugate - Linux man page
The conj() function returns the complex conjugate value of z. That is the value obtained by changing the sign of the imaginary part. One has: cabs(z) = csqrt(z
