wcstoimax, wcstoumax — convert wide-character string to integer


#include <stddef.h>
#include <inttypes.h>

intmax_t wcstoimax(const wchar_t *nptr, wchar_t **endptr, int base);
uintmax_t wcstoumax(const wchar_t *nptr, wchar_t **endptr, int base);


These functions are just like wcstol(3) and wcstoul(3), except that they return a value of type intmax_t and uintmax_t, respectively.


For an explanation of the terms used in this section, see attributes(7).

Interface Attribute Value
wcstoimax(), wcstoumax() Thread safety MT-Safe locale

Conforming to

POSIX.1-2001, POSIX.1-2008, C99.

See Also

imaxabs(3), imaxdiv(3), strtoimax(3), strtoumax(3), wcstol(3), wcstoul(3)


This page is part of release 5.04 of the Linux man-pages project. A description of the project, information about reporting bugs, and the latest version of this page, can be found at https://www.kernel.org/doc/man-pages/.

Referenced By


The man page wcstoumax(3) is an alias of wcstoimax(3).

2015-08-08 Linux Programmer's Manual