dwww Home | Manual pages | Find package

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

NAME
       wcstoimax, wcstoumax - convert wide-character string to integer

SYNOPSIS
       #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
       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
       For an  explanation  of  the  terms  used  in  this  section,  see  at-
       tributes(7).

       ┌─────────────────────────┬───────────────┬────────────────┐
       │InterfaceAttributeValue          │
       ├─────────────────────────┼───────────────┼────────────────┤
       │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),  wc-
       stoul(3)

COLOPHON
       This page is part of release 5.10 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)

Generated by dwww version 1.14 on Thu Jan 23 07:39:30 CET 2025.