_get_printf_count_output

Indicates whether printf, _printf_l, wprintf, _wprintf_l-family functions support the %n format.

Syntax

int _get_printf_count_output();

Return Value

Non-zero if %n is supported, 0 if %n is not supported.

Remarks

If %n is not supported (the default), encountering %n in the format string of any of the printf functions will invoke the invalid parameter handler as described in Parameter Validation. If %n support is enabled (see _set_printf_count_output) then %n will behave as described in Format Specification Syntax: printf and wprintf Functions.

Requirements

Routine Required header
_get_printf_count_output <stdio.h>

For additional compatibility information, see Compatibility.

Example

See the example for _set_printf_count_output.

See also

_set_printf_count_output