]> git.saurik.com Git - apple/libc.git/blob - locale/wcstol_l.3
Libc-1439.40.11.tar.gz
[apple/libc.git] / locale / wcstol_l.3
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 wcstoimax_l ,
32 .Nm wcstol_l ,
33 .Nm wcstoll_l ,
34 .Nm wcstoul_l ,
35 .Nm wcstoull_l ,
36 .Nm wcstoumax_l
37 .Nd "convert a wide character string value to a"
38 .Vt long ,
39 .Vt "unsigned long" ,
40 .Vt "long long" ,
41 .Vt "unsigned long long" ,
42 .Vt intmax_t
43 or
44 .Vt uintmax_t
45 integer
46 .Sh LIBRARY
47 .Lb libc
48 .Sh SYNOPSIS
49 .In wchar.h
50 .In xlocale.h
51 .Ft long
52 .Fo wcstol_l
53 .Fa "const wchar_t * restrict nptr"
54 .Fa "wchar_t ** restrict endptr"
55 .Fa "int base" "locale_t loc"
56 .Fc
57 .Ft "long long"
58 .Fo wcstoll_l
59 .Fa "const wchar_t * restrict nptr"
60 .Fa "wchar_t ** restrict endptr"
61 .Fa "int base" "locale_t loc"
62 .Fc
63 .Ft "unsigned long"
64 .Fo wcstoul_l
65 .Fa "const wchar_t * restrict nptr"
66 .Fa "wchar_t ** restrict endptr"
67 .Fa "int base" "locale_t loc"
68 .Fc
69 .Ft "unsigned long long"
70 .Fo wcstoull_l
71 .Fa "const wchar_t * restrict nptr"
72 .Fa "wchar_t ** restrict endptr"
73 .Fa "int base" "locale_t loc"
74 .Fc
75 .In inttypes.h
76 .In xlocale.h
77 .Ft intmax_t
78 .Fo wcstoimax_l
79 .Fa "const wchar_t * restrict nptr"
80 .Fa "wchar_t ** restrict endptr"
81 .Fa "int base" "locale_t loc"
82 .Fc
83 .Ft uintmax_t
84 .Fo wcstoumax_l
85 .Fa "const wchar_t * restrict nptr"
86 .Fa "wchar_t ** restrict endptr"
87 .Fa "int base" "locale_t loc"
88 .Fc
89 .Sh DESCRIPTION
90 The
91 .Fn wcstol_l ,
92 .Fn wcstoul_l ,
93 .Fn wcstoll_l ,
94 .Fn wcstoull_l ,
95 .Fn wcstoimax_l
96 and
97 .Fn wcstoumax_l
98 functions are extended locale versions of the
99 .Fn wcstol ,
100 .Fn wcstoul ,
101 .Fn wcstoll ,
102 .Fn wcstoull ,
103 .Fn wcstoimax
104 and
105 .Fn wcstoumax
106 functions, respectively.
107 Refer to their manual pages for details.
108 Also, see
109 .Xr xlocale 3 for more information about extended locales.
110 .Sh SEE ALSO
111 .Xr wcstol 3 ,
112 .Xr xlocale 3