]>
Commit | Line | Data |
---|---|---|
3d9156a7 A |
1 | .\" Copyright (c) 2002 Tim J. Robbins |
2 | .\" All rights reserved. | |
3 | .\" | |
4 | .\" Redistribution and use in source and binary forms, with or without | |
5 | .\" modification, are permitted provided that the following conditions | |
6 | .\" are met: | |
7 | .\" 1. Redistributions of source code must retain the above copyright | |
8 | .\" notice, this list of conditions and the following disclaimer. | |
9 | .\" 2. Redistributions in binary form must reproduce the above copyright | |
10 | .\" notice, this list of conditions and the following disclaimer in the | |
11 | .\" documentation and/or other materials provided with the distribution. | |
12 | .\" | |
13 | .\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND | |
14 | .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE | |
15 | .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE | |
16 | .\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE | |
17 | .\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL | |
18 | .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS | |
19 | .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | |
20 | .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | |
21 | .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | |
22 | .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | |
23 | .\" SUCH DAMAGE. | |
24 | .\" | |
25 | .\" $FreeBSD: src/lib/libc/locale/wcstol.3,v 1.4 2002/11/29 17:35:09 ru Exp $ | |
26 | .\" | |
27 | .Dd March 11, 2005 | |
28 | .Dt WCSTOL_L 3 | |
29 | .Os | |
30 | .Sh NAME | |
31 | .Nm wcstol_l , wcstoul_l , | |
32 | .Nm wcstoll_l , wcstoull_l , | |
33 | .Nm wcstoimax_l , wcstoumax_l | |
34 | .Nd "convert a wide character string value to a" | |
35 | .Vt long , | |
36 | .Vt "unsigned long" , | |
37 | .Vt "long long" , | |
38 | .Vt "unsigned long long" , | |
39 | .Vt intmax_t | |
40 | or | |
41 | .Vt uintmax_t | |
42 | integer | |
43 | .Sh LIBRARY | |
44 | .Lb libc | |
45 | .Sh SYNOPSIS | |
46 | .In wchar.h | |
47 | .In xlocale.h | |
48 | .Ft long | |
49 | .Fn wcstol_l "const wchar_t * restrict nptr" "wchar_t ** restrict endptr" "int base" "locale_t loc" | |
50 | .Ft "unsigned long" | |
51 | .Fn wcstoul_l "const wchar_t * restrict nptr" "wchar_t ** restrict endptr" "int base" "locale_t loc" | |
52 | .Ft "long long" | |
53 | .Fn wcstoll_l "const wchar_t * restrict nptr" "wchar_t ** restrict endptr" "int base" "locale_t loc" | |
54 | .Ft "unsigned long long" | |
55 | .Fn wcstoull_l "const wchar_t * restrict nptr" "wchar_t ** restrict endptr" "int base" "locale_t loc" | |
56 | .In inttypes.h | |
57 | .Ft intmax_t | |
58 | .Fn wcstoimax_l "const wchar_t * restrict nptr" "wchar_t ** restrict endptr" "int base" "locale_t loc" | |
59 | .Ft uintmax_t | |
60 | .Fn wcstoumax_l "const wchar_t * restrict nptr" "wchar_t ** restrict endptr" "int base" "locale_t loc" | |
61 | .Sh DESCRIPTION | |
62 | The | |
63 | .Fn wcstol_l , | |
64 | .Fn wcstoul_l , | |
65 | .Fn wcstoll_l , | |
66 | .Fn wcstoull_l , | |
67 | .Fn wcstoimax_l | |
68 | and | |
69 | .Fn wcstoumax_l | |
70 | functions are extended locale versions of the | |
71 | .Fn wcstol , | |
72 | .Fn wcstoul , | |
73 | .Fn wcstoll , | |
74 | .Fn wcstoull , | |
75 | .Fn wcstoimax | |
76 | and | |
77 | .Fn wcstoumax | |
78 | functions, respectively. | |
79 | Refer to their manual pages for details. | |
80 | Also, see | |
81 | .Xr xlocale 3 for more information about extended locales. | |
82 | .Sh SEE ALSO | |
83 | .Xr wcstol 3 , | |
84 | .Xr xlocale 3 |