Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
div
eof
Expand Minimize
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here.

_get_printf_count_output

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

int _get_printf_count_output();

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

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 printf Type Field Characters.

Routine

Required header

_get_printf_count_output

<stdio.h>

For additional compatibility information, see Compatibility in the Introduction.

See the example for _set_printf_count_output.

Not applicable. To call the standard C function, use PInvoke. For more information, see Platform Invoke Examples.

Community Additions

ADD
Show:
© 2015 Microsoft