1wcstoimax(3) Library Functions Manual wcstoimax(3)
2
3
4
6 wcstoimax, wcstoumax - convert wide-character string to integer
7
9 Standard C library (libc, -lc)
10
12 #include <stddef.h>
13 #include <inttypes.h>
14
15 intmax_t wcstoimax(const wchar_t *restrict nptr,
16 wchar_t **restrict endptr, int base);
17 uintmax_t wcstoumax(const wchar_t *restrict nptr,
18 wchar_t **restrict endptr, int base);
19
21 These functions are just like wcstol(3) and wcstoul(3), except that
22 they return a value of type intmax_t and uintmax_t, respectively.
23
25 For an explanation of the terms used in this section, see at‐
26 tributes(7).
27
28 ┌─────────────────────────────────────┬───────────────┬────────────────┐
29 │Interface │ Attribute │ Value │
30 ├─────────────────────────────────────┼───────────────┼────────────────┤
31 │wcstoimax(), wcstoumax() │ Thread safety │ MT-Safe locale │
32 └─────────────────────────────────────┴───────────────┴────────────────┘
33
35 C11, POSIX.1-2008.
36
38 POSIX.1-2001, C99.
39
41 imaxabs(3), imaxdiv(3), strtoimax(3), strtoumax(3), wcstol(3),
42 wcstoul(3)
43
44
45
46Linux man-pages 6.05 2023-07-20 wcstoimax(3)