1optionPrintVersionAndReturn(3)Programmer's ManualoptionPrintVersionAndReturn(3)
2
3
4
6 optionPrintVersionAndReturn - Print the program version
7
8
10 #include <your-opts.h>
11 cc [...] -o outfile infile.c -lopts [...]
12
13 void optionPrintVersionAndReturn(tOptions * opts, tOptDesc * od);
14
15
17 This routine will print the version to stdout and return instead of
18 exiting. Please see the source for the print_ver funtion for details
19 on selecting how verbose to be after this function returns.
20
21 opts program options descriptor
22
23 od the descriptor for this arg
24
26 The info documentation for the -lopts library.
27 ao_string_tokenize(3), configFileLoad(3), optionFileLoad(3), option‐
28 FindNextValue(3), optionFindValue(3), optionFree(3), optionGetValue(3),
29 optionLoadLine(3), optionMemberList(3), optionNextValue(3), optionOn‐
30 lyUsage(3), optionPrintVersion(3), optionProcess(3), optionRestore(3),
31 optionSaveFile(3), optionSaveState(3), optionUnloadNested(3), option‐
32 Version(3), strequate(3), streqvcmp(3), streqvmap(3), strneqvcmp(3),
33 strtransform(3),
34
35
36
37 2019-02-05 optionPrintVersionAndReturn(3)