]> git.ipfire.org Git - thirdparty/man-pages.git/blame - man3/wcstoimax.3
Changes: Ready for 4.02
[thirdparty/man-pages.git] / man3 / wcstoimax.3
CommitLineData
fea681da
MK
1.\" Copyright (c) 2003 Andries Brouwer (aeb@cwi.nl)
2.\"
1dd72f9c 3.\" %%%LICENSE_START(GPLv2+_DOC_FULL)
fea681da
MK
4.\" This is free documentation; you can redistribute it and/or
5.\" modify it under the terms of the GNU General Public License as
6.\" published by the Free Software Foundation; either version 2 of
7.\" the License, or (at your option) any later version.
8.\"
9.\" The GNU General Public License's references to "object code"
10.\" and "executables" are to be interpreted as the output of any
11.\" document formatting or typesetting system, including
12.\" intermediate and printed output.
13.\"
14.\" This manual is distributed in the hope that it will be useful,
15.\" but WITHOUT ANY WARRANTY; without even the implied warranty of
16.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17.\" GNU General Public License for more details.
18.\"
19.\" You should have received a copy of the GNU General Public
c715f741
MK
20.\" License along with this manual; if not, see
21.\" <http://www.gnu.org/licenses/>.
6a8d8745 22.\" %%%LICENSE_END
fea681da 23.\"
fe0fefbf 24.TH WCSTOIMAX 3 2015-03-02 "" "Linux Programmer's Manual"
fea681da
MK
25.SH NAME
26wcstoimax, wcstoumax \- convert wide-character string to integer
27.SH SYNOPSIS
28.nf
29.B #include <stddef.h>
30.br
31.B #include <inttypes.h>
32.sp
3d54a910
MK
33.BI "intmax_t wcstoimax(const wchar_t *" nptr ", wchar_t **" endptr \
34", int " base );
fea681da 35.br
3d54a910
MK
36.BI "uintmax_t wcstoumax(const wchar_t *" nptr ", wchar_t **" endptr \
37", int " base );
fea681da
MK
38.fi
39.SH DESCRIPTION
c13182ef 40These functions are just like
fb186734 41.BR wcstol (3)
fea681da 42and
fb186734 43.BR wcstoul (3),
fea681da 44except that they return a value of type
9ff08aad 45.I intmax_t
fea681da 46and
9ff08aad 47.IR uintmax_t ,
fea681da 48respectively.
9597ae2b 49.SH ATTRIBUTES
5a295fbe
PH
50For an explanation of the terms used in this section, see
51.BR attributes (7).
52.TS
53allbox;
54lbw24 lb lb
55l l l.
56Interface Attribute Value
57T{
58.BR wcstoimax (),
9597ae2b 59.BR wcstoumax ()
5a295fbe
PH
60T} Thread safety MT-Safe locale
61.TE
47297adb 62.SH CONFORMING TO
bc995989 63POSIX.1-2001, POSIX.1-2008, C99.
47297adb 64.SH SEE ALSO
fea681da
MK
65.BR imaxabs (3),
66.BR imaxdiv (3),
67.BR strtoimax (3),
68.BR strtoumax (3),
0e1ad98c 69.\" FIXME . the pages referred to by the following xrefs are not yet written
fea681da
MK
70.BR wcstol (3),
71.BR wcstoul (3)