Internationalization and localization tools


Locale-Sensitive C/C++ String Operation Function

unsigned long long int strtoull(const char *restrict string, char **restrict tailptr, int base);

unsigned long long int wcstoull(const wchar_t *restrict string, wchar_t **restrict tailptr, int base);

unsigned long long int strtouq(const char *restrict string, char **restrict tailptr, int base);

unsigned long long int wcstouq(const wchar_t *restrict string, wchar_t **restrict tailptr, int base);

Internationalization (I18n) Function Overview

The strtoull ("string-to-unsigned-long-long") function converts the initial part of string to an unsigned integer, which is returned as a value of type unsigned long long int.

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

The strtouq function is the BSD name for strtoull.

The wcstouq function is the BSD name for wcstoull.

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