summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortjr <tjr@FreeBSD.org>2002-09-24 09:22:47 +0000
committertjr <tjr@FreeBSD.org>2002-09-24 09:22:47 +0000
commit6e674f682e4660075c62f608f1e54dba5aa9a1fd (patch)
tree340925dde8e2e7a74e07b364ffe1854a61ff2634
parent92cc4a5bcb7348a0fd1f0493b6677d76b282ac6d (diff)
downloadFreeBSD-src-6e674f682e4660075c62f608f1e54dba5aa9a1fd.zip
FreeBSD-src-6e674f682e4660075c62f608f1e54dba5aa9a1fd.tar.gz
Add cross-references between wide character and single-byte character
versions of printf() and scanf().
-rw-r--r--lib/libc/stdio/printf.33
-rw-r--r--lib/libc/stdio/scanf.34
-rw-r--r--lib/libc/stdio/wscanf.31
3 files changed, 6 insertions, 2 deletions
diff --git a/lib/libc/stdio/printf.3 b/lib/libc/stdio/printf.3
index 8a29269..1b3af20 100644
--- a/lib/libc/stdio/printf.3
+++ b/lib/libc/stdio/printf.3
@@ -762,7 +762,8 @@ Always use the proper secure idiom:
.Sh SEE ALSO
.Xr printf 1 ,
.Xr scanf 3 ,
-.Xr setlocale 3
+.Xr setlocale 3 ,
+.Xr wprintf 3
.Rs
.%T "The FreeBSD Security Architecture"
.Re
diff --git a/lib/libc/stdio/scanf.3 b/lib/libc/stdio/scanf.3
index da5ac5d..af7cc18 100644
--- a/lib/libc/stdio/scanf.3
+++ b/lib/libc/stdio/scanf.3
@@ -476,10 +476,12 @@ has begun,
the number of conversions which were successfully completed is returned.
.Sh SEE ALSO
.Xr getc 3 ,
+.Xr mbrtowc 3 ,
.Xr printf 3 ,
.Xr strtod 3 ,
.Xr strtol 3 ,
-.Xr strtoul 3
+.Xr strtoul 3 ,
+.Xr wscanf 3
.Sh STANDARDS
The functions
.Fn fscanf ,
diff --git a/lib/libc/stdio/wscanf.3 b/lib/libc/stdio/wscanf.3
index f1d51d0..5e279ae 100644
--- a/lib/libc/stdio/wscanf.3
+++ b/lib/libc/stdio/wscanf.3
@@ -469,6 +469,7 @@ has begun,
the number of conversions which were successfully completed is returned.
.Sh SEE ALSO
.Xr fgetwc 3 ,
+.Xr scanf 3 ,
.Xr wcrtomb 3 ,
.Xr wcstod 3 ,
.Xr wcstol 3 ,
OpenPOWER on IntegriCloud