Loading...
stdio/FreeBSD/fputws.3.patch Libc-763.13 Libc-391.2.10
--- Libc/Libc-763.13/stdio/FreeBSD/fputws.3.patch
+++ Libc/Libc-391.2.10/stdio/FreeBSD/fputws.3.patch
@@ -1,6 +1,6 @@
---- fputws.3.bsdnew	2009-11-11 13:33:08.000000000 -0800
-+++ fputws.3	2009-11-11 13:33:08.000000000 -0800
-@@ -37,7 +37,8 @@
+--- fputws.3.orig	Fri Mar 11 11:53:01 2005
++++ fputws.3	Fri Mar 11 11:53:53 2005
+@@ -41,7 +41,8 @@
  .Dt FPUTWS 3
  .Os
  .Sh NAME
@@ -10,34 +10,22 @@
  .Nd output a line of wide characters to a stream
  .Sh LIBRARY
  .Lb libc
-@@ -45,14 +46,34 @@
- .In stdio.h
+@@ -50,6 +51,9 @@
  .In wchar.h
  .Ft int
--.Fn fputws "const wchar_t * restrict ws" "FILE * restrict fp"
-+.Fo fputws
-+.Fa "const wchar_t *restrict ws"
-+.Fa "FILE *restrict stream"
-+.Fc
-+.In stdio.h
-+.In wchar.h
+ .Fn fputws "const wchar_t * restrict ws" "FILE * restrict fp"
 +.In xlocale.h
 +.Ft int
-+.Fo fputws_l
-+.Fa "const wchar_t *restrict ws"
-+.Fa "FILE *restrict stream"
-+.Fa "locale_t loc"
-+.Fc
++.Fn fputws_l "const wchar_t * restrict ws" "FILE * restrict fp" "locale_t loc"
  .Sh DESCRIPTION
  The
  .Fn fputws
- function writes the wide character string pointed to by
+@@ -57,6 +61,14 @@
  .Fa ws
  to the stream pointed to by
--.Fa fp .
-+.Fa stream .
+ .Fa fp .
 +.Pp
-+Although the
++While the
 +.Fn fputws
 +function uses the current locale, the
 +.Fn fputws_l
@@ -47,16 +35,7 @@
  .Sh RETURN VALUES
  The
  .Fn fputws
-@@ -65,7 +86,7 @@ function will fail if:
- .Bl -tag -width Er
- .It Bq Er EBADF
- The
--.Fa fp
-+.Fa stream
- argument supplied
- is not a writable stream.
- .El
-@@ -80,7 +101,8 @@ for any of the errors specified for the 
+@@ -84,7 +96,8 @@
  .Xr ferror 3 ,
  .Xr fputs 3 ,
  .Xr putwc 3 ,