]> git.ipfire.org Git - thirdparty/man-pages.git/blob - man3/wcstoimax.3
95f174732faa1fc08b722acb76ae7981ea0c1bb9
[thirdparty/man-pages.git] / man3 / wcstoimax.3
1 .\" Copyright (c) 2003 Andries Brouwer (aeb@cwi.nl)
2 .\"
3 .\" SPDX-License-Identifier: GPL-2.0-or-later
4 .\"
5 .TH WCSTOIMAX 3 2021-03-22 "" "Linux Programmer's Manual"
6 .SH NAME
7 wcstoimax, wcstoumax \- convert wide-character string to integer
8 .SH LIBRARY
9 Standard C library
10 .RI ( libc ", " \-lc )
11 .SH SYNOPSIS
12 .nf
13 .B #include <stddef.h>
14 .B #include <inttypes.h>
15 .PP
16 .BI "intmax_t wcstoimax(const wchar_t *restrict " nptr ,
17 .BI " wchar_t **restrict " endptr ", int " base );
18 .BI "uintmax_t wcstoumax(const wchar_t *restrict " nptr ,
19 .BI " wchar_t **restrict " endptr ", int " base );
20 .fi
21 .SH DESCRIPTION
22 These functions are just like
23 .BR wcstol (3)
24 and
25 .BR wcstoul (3),
26 except that they return a value of type
27 .I intmax_t
28 and
29 .IR uintmax_t ,
30 respectively.
31 .SH ATTRIBUTES
32 For an explanation of the terms used in this section, see
33 .BR attributes (7).
34 .ad l
35 .nh
36 .TS
37 allbox;
38 lbx lb lb
39 l l l.
40 Interface Attribute Value
41 T{
42 .BR wcstoimax (),
43 .BR wcstoumax ()
44 T} Thread safety MT-Safe locale
45 .TE
46 .hy
47 .ad
48 .sp 1
49 .SH CONFORMING TO
50 POSIX.1-2001, POSIX.1-2008, C99.
51 .SH SEE ALSO
52 .BR imaxabs (3),
53 .BR imaxdiv (3),
54 .BR strtoimax (3),
55 .BR strtoumax (3),
56 .\" FIXME . the pages referred to by the following xrefs are not yet written
57 .BR wcstol (3),
58 .BR wcstoul (3)