stringwrite_config_bool
Name
stringwrite_config_bool — Output a boolean to the system console
Synopsis
#include "misc/ec_string.h"
| string * **stringwrite_config_bool** (
| str, | |
| | label, | |
| | value, | |
| | xml)
; | |
string * <var class="pdparam">str</var>
;
const char * <var class="pdparam">label</var>
;
int <var class="pdparam">value</var>
;
int <var class="pdparam">xml</var>
;
Description
Output a boolean to the system console
Note
This function is deprecated in Momentum version 3.0. It is suitable only for supporting legacy modules doing 'write config'.
- str
-
An ec_string.
- label
-
A character array, typically an option name.
- int
-
The value of
label
. - xml
-
Whether or not to render as XML. Set this value to
0
or1
.
This function returns an ec_string terminated by a newline.
It is legal to call this function in any thread.