1WCSTOIMAX(3) Linux Programmer's Manual WCSTOIMAX(3)
2
3
4
6 wcstoimax, wcstoumax - convert wide-character string to integer
7
9 #include <stddef.h>
10 #include <inttypes.h>
11
12 intmax_t wcstoimax(const wchar_t *restrict nptr,
13 wchar_t **restrict endptr, int base);
14 uintmax_t wcstoumax(const wchar_t *restrict nptr,
15 wchar_t **restrict endptr, int base);
16
18 These functions are just like wcstol(3) and wcstoul(3), except that
19 they return a value of type intmax_t and uintmax_t, respectively.
20
22 For an explanation of the terms used in this section, see at‐
23 tributes(7).
24
25 ┌─────────────────────────────────────┬───────────────┬────────────────┐
26 │Interface │ Attribute │ Value │
27 ├─────────────────────────────────────┼───────────────┼────────────────┤
28 │wcstoimax(), wcstoumax() │ Thread safety │ MT-Safe locale │
29 └─────────────────────────────────────┴───────────────┴────────────────┘
30
32 POSIX.1-2001, POSIX.1-2008, C99.
33
35 imaxabs(3), imaxdiv(3), strtoimax(3), strtoumax(3), wcstol(3), wc‐
36 stoul(3)
37
39 This page is part of release 5.13 of the Linux man-pages project. A
40 description of the project, information about reporting bugs, and the
41 latest version of this page, can be found at
42 https://www.kernel.org/doc/man-pages/.
43
44
45
46 2021-03-22 WCSTOIMAX(3)