]> git.saurik.com Git - apple/libc.git/blame - locale/wcstol_l.3
Libc-825.25.tar.gz
[apple/libc.git] / locale / wcstol_l.3
CommitLineData
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
224c7076
A
31.Nm wcstoimax_l ,
32.Nm wcstol_l ,
33.Nm wcstoll_l ,
34.Nm wcstoul_l ,
35.Nm wcstoull_l ,
36.Nm wcstoumax_l
3d9156a7
A
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
43or
44.Vt uintmax_t
45integer
46.Sh LIBRARY
47.Lb libc
48.Sh SYNOPSIS
49.In wchar.h
50.In xlocale.h
51.Ft long
224c7076
A
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
3d9156a7 57.Ft "long long"
224c7076
A
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
3d9156a7 69.Ft "unsigned long long"
224c7076
A
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
3d9156a7 75.In inttypes.h
224c7076 76.In xlocale.h
3d9156a7 77.Ft intmax_t
224c7076
A
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
3d9156a7 83.Ft uintmax_t
224c7076
A
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
3d9156a7
A
89.Sh DESCRIPTION
90The
91.Fn wcstol_l ,
92.Fn wcstoul_l ,
93.Fn wcstoll_l ,
94.Fn wcstoull_l ,
95.Fn wcstoimax_l
96and
97.Fn wcstoumax_l
98functions are extended locale versions of the
99.Fn wcstol ,
100.Fn wcstoul ,
101.Fn wcstoll ,
102.Fn wcstoull ,
103.Fn wcstoimax
104and
105.Fn wcstoumax
106functions, respectively.
107Refer to their manual pages for details.
108Also, see
109.Xr xlocale 3 for more information about extended locales.
110.Sh SEE ALSO
111.Xr wcstol 3 ,
112.Xr xlocale 3