NAME | SYNOPSIS | DESCRIPTION | ATTRIBUTES | CONFORMING TO | SEE ALSO | COLOPHON

WCSTOIMAX(3)              Linux Programmer's Manual             WCSTOIMAX(3)

NAME         top

       wcstoimax, wcstoumax - convert wide-character string to integer

SYNOPSIS         top

       #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);

DESCRIPTION         top

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

ATTRIBUTES         top

       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         top

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

SEE ALSO         top

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

COLOPHON         top

       This page is part of release 4.07 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/.

                                 2015-08-08                     WCSTOIMAX(3)