SHTK_CONFIG_GET_DEFAULT(3) | Library Functions Manual | SHTK_CONFIG_GET_DEFAULT(3) |
shtk_config_get_default
—
Gets the value of a possibly-unset configuration
variable
shtk_import config
shtk_config_get_default |
var_name default_value |
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.
shtk_config_get_default
first appeared in
shtk
1.0.
November 6, 2014 | Debian |