]> git.saurik.com Git - apple/libc.git/blob - locale/FreeBSD/localeconv.3.patch
960a419a5ffa5798f92b88386deb6cd92243e112
[apple/libc.git] / locale / FreeBSD / localeconv.3.patch
1 --- localeconv.3.orig Fri Mar 11 19:44:47 2005
2 +++ localeconv.3 Fri Mar 11 19:57:53 2005
3 @@ -40,7 +40,8 @@
4 .Dt LOCALECONV 3
5 .Os
6 .Sh NAME
7 -.Nm localeconv
8 +.Nm localeconv ,
9 +.Nm localeconv_l
10 .Nd natural language formatting for C
11 .Sh LIBRARY
12 .Lb libc
13 @@ -48,6 +49,9 @@
14 .In locale.h
15 .Ft struct lconv *
16 .Fn localeconv "void"
17 +.In xlocale.h
18 +.Ft struct lconv *
19 +.Fn localeconv_l "void" "locale_t loc"
20 .Sh DESCRIPTION
21 The
22 .Fn localeconv
23 @@ -201,6 +205,14 @@
24 A
25 .Dv CHAR_MAX
26 result similarly denotes an unavailable value.
27 +.Pp
28 +While the
29 +.Fn localeconv
30 +function uses the current locale, the
31 +.Fn localeconv_l
32 +function may be passed a locale directly. See
33 +.Xr xlocale 3
34 +for more information.
35 .Sh RETURN VALUES
36 The
37 .Fn localeconv
38 @@ -213,7 +225,8 @@
39 No errors are defined.
40 .Sh SEE ALSO
41 .Xr setlocale 3 ,
42 -.Xr strfmon 3
43 +.Xr strfmon 3 ,
44 +.Xr xlocale 3
45 .Sh STANDARDS
46 The
47 .Fn localeconv