Loading...
stdio/FreeBSD/getwc.3.patch Libc-391 Libc-763.13
--- Libc/Libc-391/stdio/FreeBSD/getwc.3.patch
+++ Libc/Libc-763.13/stdio/FreeBSD/getwc.3.patch
@@ -1,6 +1,15 @@
---- getwc.3.orig	Fri Mar 11 17:08:31 2005
-+++ getwc.3	Fri Mar 11 16:20:25 2005
-@@ -79,6 +79,12 @@
+--- getwc.3.bsdnew	2009-11-11 13:33:12.000000000 -0800
++++ getwc.3	2009-11-11 14:56:18.000000000 -0800
+@@ -52,7 +52,7 @@
+ .Ft wint_t
+ .Fn getwc "FILE *stream"
+ .Ft wint_t
+-.Fn getwchar void
++.Fn getwchar "void"
+ .Sh DESCRIPTION
+ The
+ .Fn fgetwc
+@@ -75,6 +75,12 @@ is equivalent to
  .Fn getwc
  with the argument
  .Dv stdin .
@@ -13,13 +22,19 @@
  .Sh RETURN VALUES
  If successful, these routines return the next wide character
  from the
-@@ -106,7 +112,8 @@
+@@ -100,13 +106,14 @@ until the condition is cleared with
+ .Xr fopen 3 ,
+ .Xr fread 3 ,
  .Xr getc 3 ,
++.Xr getwc_l ,
  .Xr putwc 3 ,
  .Xr stdio 3 ,
--.Xr ungetwc 3
-+.Xr ungetwc 3 ,
-+.Xr getwc_l 3
+ .Xr ungetwc 3
  .Sh STANDARDS
  The
  .Fn fgetwc ,
+-.Fn getwc
++.Fn getwc ,
+ and
+ .Fn getwchar
+ functions