]>
Commit | Line | Data |
---|---|---|
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 | .\" |
460495ca | 24 | .TH WCSTOIMAX 3 2015-08-08 "" "Linux Programmer's Manual" |
fea681da MK |
25 | .SH NAME |
26 | wcstoimax, wcstoumax \- convert wide-character string to integer | |
27 | .SH SYNOPSIS | |
28 | .nf | |
29 | .B #include <stddef.h> | |
fea681da | 30 | .B #include <inttypes.h> |
68e4db0a | 31 | .PP |
3d54a910 MK |
32 | .BI "intmax_t wcstoimax(const wchar_t *" nptr ", wchar_t **" endptr \ |
33 | ", int " base ); | |
3d54a910 MK |
34 | .BI "uintmax_t wcstoumax(const wchar_t *" nptr ", wchar_t **" endptr \ |
35 | ", int " base ); | |
fea681da MK |
36 | .fi |
37 | .SH DESCRIPTION | |
c13182ef | 38 | These functions are just like |
fb186734 | 39 | .BR wcstol (3) |
fea681da | 40 | and |
fb186734 | 41 | .BR wcstoul (3), |
fea681da | 42 | except that they return a value of type |
9ff08aad | 43 | .I intmax_t |
fea681da | 44 | and |
9ff08aad | 45 | .IR uintmax_t , |
fea681da | 46 | respectively. |
9597ae2b | 47 | .SH ATTRIBUTES |
5a295fbe PH |
48 | For an explanation of the terms used in this section, see |
49 | .BR attributes (7). | |
50 | .TS | |
51 | allbox; | |
52 | lbw24 lb lb | |
53 | l l l. | |
54 | Interface Attribute Value | |
55 | T{ | |
56 | .BR wcstoimax (), | |
9597ae2b | 57 | .BR wcstoumax () |
5a295fbe PH |
58 | T} Thread safety MT-Safe locale |
59 | .TE | |
47297adb | 60 | .SH CONFORMING TO |
bc995989 | 61 | POSIX.1-2001, POSIX.1-2008, C99. |
47297adb | 62 | .SH SEE ALSO |
fea681da MK |
63 | .BR imaxabs (3), |
64 | .BR imaxdiv (3), | |
65 | .BR strtoimax (3), | |
66 | .BR strtoumax (3), | |
0e1ad98c | 67 | .\" FIXME . the pages referred to by the following xrefs are not yet written |
fea681da MK |
68 | .BR wcstol (3), |
69 | .BR wcstoul (3) |