Internationalization and localization tools


ANSI Command Line Argument Function

error_t argz_replace(char **argz, size_t *argz_len, const char *str, const char *with, unsigned *replace_count);

Internationalization (I18n) Function Overview

Replace any occurrences of the string str in argz with with, reallocating argz as necessary. If replace_count is non-zero, *replace_count will be incremented by number of replacements performed.

For more specifics on the argz and envz family of functions, see Argz and Envz vectors in the GNU manual.

I18n Issues

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 argz_replace 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 Environment and Command Line Argument Functions

 

Lingoport internationalization and localization services and software