Internationalization and localization tools


ANSI Command Line Argument Function

error_t argz_append(char **argz, size_t *argz_len, const char *buf, size_t buf_len);

Internationalization (I18n) Function Overview

The argz_append function appends buf_len bytes starting at buf to the argz vector *argz, reallocating *argz to accommodate it, and adding buf_len to *argz_len.

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_append function can be used.

Special care must be taken with the buf_len parameter. See Locale-Sensitive Length Functions for a complete discussion of the issues involved with functions that pass length parameters.

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