cdk_params
Cdk command-line parsing
- Provided by: libcdk5-dev (Version: 5.0.20160131-1)
- Source: libcdk5
- Report a bug
Cdk command-line parsing
cc [ flag ... ] file ... -lcdk [ library ... ]
#include <cdk.h>
CDK_PARAMS *params, int option);
CDK_PARAMS *params, int option, int missing);
CDK_PARAMS *params, int option);
CDK_PARAMS *params, int option, const char *missing);
int argc, char **argv, CDK_PARAMS *params, const char *options);
char *string);
CDK_PARAMS * params, int option, int missing);
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().
cdk_position (3), getopt (3)