Home

wcstoimax(3)

wcstoimax(3)Library Functions Manualwcstoimax(3)

wcstoimax, wcstoumax - convert wide-character string to integer

Standard C library (libc, -lc)

#include <stddef.h>#include <inttypes.h>
intmax_t wcstoimax(const wchar_t *restrict nptr,                   wchar_t **restrict endptr, int base);uintmax_t wcstoumax(const wchar_t *restrict nptr,                   wchar_t **restrict 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).

InterfaceAttributeValue
wcstoimax (), wcstoumax ()Thread safetyMT-Safe locale

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

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

2022-12-15Linux man-pages 6.03