DragonFly On-Line Manual Pages

Search: Section:  


SHTK_CONFIG_GET_BOOL(3)                     DragonFly Library Functions Manual

NAME

shtk_config_get_bool - Gets the value of a boolean configuration variable

LIBRARY

shtk_import config

SYNOPSIS

shtk_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 ALSO

shtk(3), shtk_config(3)

HISTORY

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

Search: Section: