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 *nptr, wchar_t **endptr, int base);
13 uintmax_t wcstoumax(const wchar_t *nptr, wchar_t **endptr, int base);
14
16 These functions are just like wcstol(3) and wcstoul(3), except that
17 they return a value of type intmax_t and uintmax_t, respectively.
18
20 For an explanation of the terms used in this section, see
21 attributes(7).
22
23 ┌─────────────────────────┬───────────────┬────────────────┐
24 │Interface │ Attribute │ Value │
25 ├─────────────────────────┼───────────────┼────────────────┤
26 │wcstoimax(), wcstoumax() │ Thread safety │ MT-Safe locale │
27 └─────────────────────────┴───────────────┴────────────────┘
29 POSIX.1-2001, POSIX.1-2008, C99.
30
32 imaxabs(3), imaxdiv(3), strtoimax(3), strtoumax(3), wcstol(3),
33 wcstoul(3)
34
36 This page is part of release 5.04 of the Linux man-pages project. A
37 description of the project, information about reporting bugs, and the
38 latest version of this page, can be found at
39 https://www.kernel.org/doc/man-pages/.
40
41
42
43 2015-08-08 WCSTOIMAX(3)