Internationalization and localization tools


Locale-Sensitive C/C++ String Operation Function

uintmax_t strtoumax(const char *restrict string, char **restrict tailptr, int base);

uintmax_t wcstoumax(const wchar_t *restrict string, wchar_t **restrict tailptr, int base);

Internationalization (I18n) Function Overview

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

The wcstoumax function is equivalent to the strtoumax 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