shtk_config_get_default
—
Gets the value of a possibly-unset configuration
variable
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.