Internationalization and localization tools


ANSI Custom Print Formatting Function

int printf_size_info(const struct printf_info *info, size_t n, int *argtypes);

Internationalization (I18n) Function Overview

This function will return in argtypes the information about the used parameters in the way the vfprintf implementation expects it. The format always takes one argument.

This function is used in conjunction with the printf_size and register_printf_function functions.

I18n Issues

This function is part of a family of functions that are used to create customized printf-style formatting extensions. See ANSI Custom Print Formatting Functions for further discussion of the issues involved when migrating to UTF-8 multibyte or wide character applications.

There is no ANSI wide character version of this function. The parameters will have to be converted to multibyte UTF-8 characters and then the printf_size_info function can be used.

Recommended Replacements*

*If you're already using the recommended function, see I18n Issues for other reasons why Globalyzer is detecting the function.

ANSI Custom Print Formatting Functions

 

Lingoport internationalization and localization services and software