aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorTim J. Robbins <tjr@FreeBSD.org>2002-09-24 09:22:47 +0000
committerTim J. Robbins <tjr@FreeBSD.org>2002-09-24 09:22:47 +0000
commit38b5abad06f430cc2f20ee53080f292bd88dcbeb (patch)
tree340925dde8e2e7a74e07b364ffe1854a61ff2634 /lib
parent89265cb89904338a261a71788f567b16645fb68d (diff)
Add cross-references between wide character and single-byte character
versions of printf() and scanf().
Notes
Notes: svn path=/head/; revision=103891
Diffstat (limited to 'lib')
-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 8a29269ffdd4..1b3af2047588 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 da5ac5d1b7d0..af7cc18c95e5 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 f1d51d0bea54..5e279aec12f7 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 ,