From 38b5abad06f430cc2f20ee53080f292bd88dcbeb Mon Sep 17 00:00:00 2001 From: "Tim J. Robbins" Date: Tue, 24 Sep 2002 09:22:47 +0000 Subject: [PATCH] Add cross-references between wide character and single-byte character versions of printf() and scanf(). --- lib/libc/stdio/printf.3 | 3 ++- lib/libc/stdio/scanf.3 | 4 +++- lib/libc/stdio/wscanf.3 | 1 + 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 ,