Man page - cdkparamstring2(3)
Packages contas this manual
- cdk_button(3)
- alignxy(3)
- cdk_viewer(3)
- gen-slider(3)
- attrbox(3)
- cdk_compat(3)
- chstrncpy(3)
- cdk_fscale(3)
- cdk_traverse(3)
- cdk_binding(3)
- cdk_uslider(3)
- cdk_slider(3)
- cdk_menu(3)
- cdk_display(3)
- cdk_histogram(3)
- cdk_mentry(3)
- cdk_graph(3)
- cdk_draw(3)
- cdk_entry(3)
- #endif(3)
- cdk(3)
- cdk_alphalist(3)
- cdk_template(3)
- cdk5-config(1)
- intlen(3)
- cdk_scale(3)
- cdk_objs(3)
- cdk_util(3)
- #if(3)
- cdk_buttonbox(3)
- gen-scale(3)
- cdk_uscale(3)
- cdk_fslider(3)
- cdk_dialog(3)
- cdk_process(3)
- cdk_screen(3)
- cdk_matrix(3)
- cdk_swindow(3)
- cdk_dscale(3)
- cdk_selection(3)
- chlen(3)
- cdk_calendar(3)
- cdk_radio(3)
- cdk_marquee(3)
- cdk_itemlist(3)
- cdk_params(3)
- cdk_scroll(3)
- cdk_misc(3)
- cdk_position(3)
- cdk_label(3)
- cdk_fselect(3)
Package: libcdk5-dev
apt-get install libcdk5-dev
apt-get install libcdk5-dev
Manuals in package:
Documentations in package:
Manual
| cdk_params(3) | Library calls | cdk_params(3) |
NAME
cdk_params - Cdk command-line parsing
SYNOPSIS
cc [ flag ... ] file ... -lcdk [ library ... ]
#include <cdk.h>
- int CDKparamNumber (
-
CDK_PARAMS *params, int option);
- int CDKparamNumber2 (
-
CDK_PARAMS *params, int option, int missing);
- char * CDKparamString (
-
CDK_PARAMS *params, int option);
- char * CDKparamString2 (
-
CDK_PARAMS *params, int option, const char *missing);
- void CDKparseParams (
-
int argc, char **argv, CDK_PARAMS *params, const char *options);
- int CDKparsePosition (
-
char *string);
- int CDKparamValue (
-
CDK_PARAMS * params, int option, int missing);
DESCRIPTION
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.
SEE ALSO
cdk_position(3), getopt(3)
| 2024-03-28 |