carta
CDKparseParams(3)

CDKparseParams3

Cdk command-line parsing

Part of cdk_params(3).

Usage

cc [flag ...] file ... -lcdk [library ...]

Overview

These are a set of functions used to implement the command-line utilities and demonstration programs for Cdk. Rather than set the programs' options at initialization, they construct a simple database which holds the common parameters using CDKparseParams().

Available functions

CDKparamNumber

Retrieves an integer (or boolean) option value from the parsed command-line.

CDKparamNumber2

Retrieves an optional integer (or boolean) value from the parsed command-line. If the command line option is not present, the missing value is used.

CDKparamString

Retrieves a string option value from the parsed command-line.

CDKparamString2

Retrieve an optional string option value from the parsed command-line.

CDKparamValue

Retrieve an integer (or boolean) option value from the parsed command-line.

CDKparseParams

Parse the given argc/argv command-line, with the options passed to getopt()'s 3rd parameter.

CDKparsePosition

Parse the string as one of CDK's positioning keywords, or an actual position.

History

  • Debian 13 (Trixie): the text shown here
  • Debian 12 (Bookworm) to Debian 9 (Stretch)
  • Debian 8 (Jessie) to Debian 7 (Wheezy)
  • Debian 6.0 (Squeeze) to Debian 5.0 (Lenny)
  • Debian 4.0 (Etch)

From libcdk5-dev 5.0.20250116-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.