]> git.saurik.com Git - apple/libc.git/blob - locale/FreeBSD/wcsftime.3.patch
Libc-391.2.10.tar.gz
[apple/libc.git] / locale / FreeBSD / wcsftime.3.patch
1 --- wcsftime.3.orig Fri Mar 11 19:44:47 2005
2 +++ wcsftime.3 Fri Mar 11 19:49:00 2005
3 @@ -28,7 +28,8 @@
4 .Dt WCSFTIME 3
5 .Os
6 .Sh NAME
7 -.Nm wcsftime
8 +.Nm wcsftime ,
9 +.Nm wcsftime_l
10 .Nd "convert date and time to a wide-character string"
11 .Sh LIBRARY
12 .Lb libc
13 @@ -39,6 +40,12 @@
14 .Fa "wchar_t * restrict wcs" "size_t maxsize"
15 .Fa "const wchar_t * restrict format" "const struct tm * restrict timeptr"
16 .Fc
17 +.In xlocale.h
18 +.Ft size_t
19 +.Fo wcsftime_l
20 +.Fa "wchar_t * restrict wcs" "size_t maxsize"
21 +.Fa "const wchar_t * restrict format" "const struct tm * restrict timeptr" "locale_t loc"
22 +.Fc
23 .Sh DESCRIPTION
24 The
25 .Fn wcsftime
26 @@ -48,6 +55,14 @@
27 Refer to
28 .Xr strftime 3
29 for a detailed description.
30 +.Pp
31 +While the
32 +.Fn wcsftime
33 +function uses the current locale, the
34 +.Fn wcsftime_l
35 +function may be passed a locale directly. See
36 +.Xr xlocale 3
37 +for more information.
38 .Sh COMPATIBILITY
39 Some early implementations of
40 .Fn wcsftime
41 @@ -58,7 +73,8 @@
42 instead of
43 .Vt "const wchar_t *" .
44 .Sh SEE ALSO
45 -.Xr strftime 3
46 +.Xr strftime 3 ,
47 +.Xr xlocale 3
48 .Sh STANDARDS
49 The
50 .Fn wcsftime