Internationalization and localization tools


ANSI Environment Function

char *envz_get(const char *envz, size_t envz_len, const char *name);

Internationalization (I18n) Function Overview

The envz_get function finds the entry in envz with the name name (like envz_entry), and returns a pointer to the value portion of that entry (following the '='). If there is no entry with that name (or only a null entry), 0 is returned.

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 envz_get function can be used. Similarly, the return value 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.

ANSI Environment and Command Line Argument Functions

 

Lingoport internationalization and localization services and software