optionPrintVersionAndReturn(3)

optionPrintVersionAndReturn3

Print the program version

Usage

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

void optionPrintVersionAndReturn(tOptions * opts, tOptDesc * od);

Overview

This routine will print the version to stdout and return instead of exiting. Please see the source for the print_ver funtion for details on selecting how verbose to be after this function returns.

opts

program options descriptor

od

the descriptor for this arg

Releases

7 releases since Debian 8 (Jessie); the text changed 6 times.

  1. 8
  2. 9
  3. 10
  4. 11
  5. 12
  6. 13
  7. Arch

From autogen 5.18.16-6 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.