Set the value of a boolean config variable.
where to look for the variable
the variable's name
the value to store
0 or an error code