Internationalization and localization tools


Locale-Sensitive C/C++ String Operation Function

intmax_t strtoimax(const char *restrict string, char **restrict tailptr, int base);

intmax_t wcstoimax(const wchar_t *restrict string, wchar_t **restrict tailptr, int base);

Internationalization (I18n) Function Overview

The strtoimax function is like strtoul except that it returns a intmax_t value, and accepts numbers of a corresponding range.

The wcstoimax function is equivalent to the strtoimax function in nearly all aspects but handles wide character strings.

I18n Issues

Use the appropriate version of the function as required for internationalization support, noting the following:

Ensure that the current locale is set properly.

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