Internationalization and localization tools


Locale-Sensitive C/C++ String Operation Function

size_t confstr(int parameter, char *buf, size_t len);

Internationalization (I18n) Function Overview

This function reads the value of a string-valued system parameter, storing the string into len bytes of memory space starting at buf.

I18n Issues

There is no ANSI wide character version of this function. The parameter will have to be converted to multibyte UTF-8 characters and then the confstr function can be used. Similarly, the parameter buffer will then need to be converted from multibyte UTF-8 characters back to wide characters.

Recommended Replacements*

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

Locale-Sensitive C/C++ String Operation Functions

 

Lingoport internationalization and localization services and software