]> git.saurik.com Git - apple/libc.git/blob - stdio/FreeBSD/fputws.3.patch
Libc-391.2.10.tar.gz
[apple/libc.git] / stdio / FreeBSD / fputws.3.patch
1 --- fputws.3.orig Fri Mar 11 11:53:01 2005
2 +++ fputws.3 Fri Mar 11 11:53:53 2005
3 @@ -41,7 +41,8 @@
4 .Dt FPUTWS 3
5 .Os
6 .Sh NAME
7 -.Nm fputws
8 +.Nm fputws ,
9 +.Nm fputws_l
10 .Nd output a line of wide characters to a stream
11 .Sh LIBRARY
12 .Lb libc
13 @@ -50,6 +51,9 @@
14 .In wchar.h
15 .Ft int
16 .Fn fputws "const wchar_t * restrict ws" "FILE * restrict fp"
17 +.In xlocale.h
18 +.Ft int
19 +.Fn fputws_l "const wchar_t * restrict ws" "FILE * restrict fp" "locale_t loc"
20 .Sh DESCRIPTION
21 The
22 .Fn fputws
23 @@ -57,6 +61,14 @@
24 .Fa ws
25 to the stream pointed to by
26 .Fa fp .
27 +.Pp
28 +While the
29 +.Fn fputws
30 +function uses the current locale, the
31 +.Fn fputws_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 fputws
38 @@ -84,7 +96,8 @@
39 .Xr ferror 3 ,
40 .Xr fputs 3 ,
41 .Xr putwc 3 ,
42 -.Xr stdio 3
43 +.Xr stdio 3 ,
44 +.Xr xlocale 3
45 .Sh STANDARDS
46 The
47 .Fn fputws