SHTK_CONFIG_GET_BOOL(3) BSD Library Functions Manual SHTK_CONFIG_GET_BOOL(3)NAMEshtk_config_get_bool — Gets the value of a boolean configuration variable
LIBRARY
shtk_import config
SYNOPSISshtk_config_get_bool var_name
DESCRIPTION
The shtk_config_get_bool function gets the value of the configuration
variable var_name, interpreting its contents as a boolean as described in
shtk_bool_check(3).
RETURN VALUES
Returns 0 (true) if the variable is set to a truth value; otherwise,
including the case where the variable has not been set, returns 1.
SEE ALSOshtk(3), shtk_config(3)HISTORYshtk_config_get_bool first appeared in shtk 1.0.
BSD November 6, 2014 BSD