summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/stdio/fgets.33
-rw-r--r--lib/libc/stdio/fputs.31
-rw-r--r--lib/libc/stdio/getc.31
-rw-r--r--lib/libc/stdio/getwc.36
-rw-r--r--lib/libc/stdio/putc.31
-rw-r--r--lib/libc/stdio/putwc.311
-rw-r--r--lib/libc/stdio/ungetc.33
7 files changed, 13 insertions, 13 deletions
diff --git a/lib/libc/stdio/fgets.3 b/lib/libc/stdio/fgets.3
index 86bef2d..e536b21 100644
--- a/lib/libc/stdio/fgets.3
+++ b/lib/libc/stdio/fgets.3
@@ -150,7 +150,8 @@ the FSA.)
.Sh SEE ALSO
.Xr feof 3 ,
.Xr ferror 3 ,
-.Xr fgetln 3
+.Xr fgetln 3 ,
+.Xr fgetws 3
.Rs
.%T "The FreeBSD Security Architecture"
.Re
diff --git a/lib/libc/stdio/fputs.3 b/lib/libc/stdio/fputs.3
index ce44543..12486bd 100644
--- a/lib/libc/stdio/fputs.3
+++ b/lib/libc/stdio/fputs.3
@@ -99,6 +99,7 @@ for any of the errors specified for the routines
.Xr write 2 .
.Sh SEE ALSO
.Xr ferror 3 ,
+.Xr fputws 3 ,
.Xr putc 3 ,
.Xr stdio 3
.Sh STANDARDS
diff --git a/lib/libc/stdio/getc.3 b/lib/libc/stdio/getc.3
index 8ff83d6..a3549fd 100644
--- a/lib/libc/stdio/getc.3
+++ b/lib/libc/stdio/getc.3
@@ -115,6 +115,7 @@ until the condition is cleared with
.Xr ferror 3 ,
.Xr fopen 3 ,
.Xr fread 3 ,
+.Xr getwc 3 ,
.Xr putc 3 ,
.Xr ungetc 3
.Sh STANDARDS
diff --git a/lib/libc/stdio/getwc.3 b/lib/libc/stdio/getwc.3
index 574365e..94762f7 100644
--- a/lib/libc/stdio/getwc.3
+++ b/lib/libc/stdio/getwc.3
@@ -38,7 +38,7 @@
.\" @(#)getc.3 8.1 (Berkeley) 6/4/93
.\" $FreeBSD$
.\"
-.Dd October 24, 2001
+.Dd October 10, 2002
.Dt GETWC 3
.Os
.Sh NAME
@@ -70,8 +70,7 @@ The
.Fn getwc
function
acts essentially identically to
-.Fn fgetwc ,
-but is a macro that expands in-line.
+.Fn fgetwc .
.Pp
The
.Fn getwchar
@@ -103,6 +102,7 @@ until the condition is cleared with
.Xr ferror 3 ,
.Xr fopen 3 ,
.Xr fread 3 ,
+.Xr getc 3 ,
.Xr putwc 3 ,
.Xr stdio 3 ,
.Xr ungetwc 3
diff --git a/lib/libc/stdio/putc.3 b/lib/libc/stdio/putc.3
index c8165ed..2c7439a 100644
--- a/lib/libc/stdio/putc.3
+++ b/lib/libc/stdio/putc.3
@@ -115,6 +115,7 @@ or if an attempt is made to write a read-only stream.
.Xr ferror 3 ,
.Xr fopen 3 ,
.Xr getc 3 ,
+.Xr putwc 3 ,
.Xr stdio 3
.Sh STANDARDS
The functions
diff --git a/lib/libc/stdio/putwc.3 b/lib/libc/stdio/putwc.3
index a87e361..a431773 100644
--- a/lib/libc/stdio/putwc.3
+++ b/lib/libc/stdio/putwc.3
@@ -38,7 +38,7 @@
.\" @(#)putc.3 8.1 (Berkeley) 6/4/93
.\" $FreeBSD$
.\"
-.Dd October 20, 2001
+.Dd October 10, 2002
.Dt PUTWC 3
.Os
.Sh NAME
@@ -68,12 +68,7 @@ to the output stream pointed to by
.Pp
.Fn putwc
acts essentially identically to
-.Fn fputwc ,
-but is a macro that expands in-line. It may evaluate
-.Fa stream
-more than once, so arguments given to
-.Fn putwc
-should not be expressions with potential side effects.
+.Fn fputwc .
.Pp
.Fn putwchar
is identical to
@@ -100,6 +95,6 @@ The functions
.Fn fputwc ,
.Fn putwc ,
and
-.Fn putwchar ,
+.Fn putwchar
conform to
.St -isoC-99 .
diff --git a/lib/libc/stdio/ungetc.3 b/lib/libc/stdio/ungetc.3
index c1506d9..3ffab32 100644
--- a/lib/libc/stdio/ungetc.3
+++ b/lib/libc/stdio/ungetc.3
@@ -93,7 +93,8 @@ the operation will fail and the stream will remain unchanged.
.Sh SEE ALSO
.Xr fseek 3 ,
.Xr getc 3 ,
-.Xr setvbuf 3
+.Xr setvbuf 3 ,
+.Xr ungetwc 3
.Sh STANDARDS
The
.Fn ungetc
OpenPOWER on IntegriCloud