DragonFly On-Line Manual Pages

Search: Section:  


SHTK_CONFIG_GET_DEFAULT(3)                  DragonFly Library Functions Manual

NAME

shtk_config_get_default - Gets the value of a possibly-unset configuration variable

LIBRARY

shtk_import config

SYNOPSIS

shtk_config_get_default var_name default_value

DESCRIPTION

The shtk_config_get_default function prints to stdout the value of the configuration variable var_name if it has been previously set by a call to shtk_config_set(3) within the script or by the user in the configuration file. Otherwise, if the variable has not been set, the printed value is default_value.

SEE ALSO

shtk(3), shtk_config(3)

HISTORY

shtk_config_get_default first appeared in shtk 1.0. DragonFly 6.5-DEVELOPMENT November 6, 2014 DragonFly 6.5-DEVELOPMENT

Search: Section: