Skip to main content

Name

stringwrite_config_int — Output an integer to the system console

Synopsis

#include "misc/ec_string.h"

| string * **stringwrite_config_int** ( | 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 an integer 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'.

Parameters

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 or 1.

Return Values

This function returns an ec_string terminated by a newline.

Threading

It is legal to call this function in any thread.

Was this page helpful?