From 0c0f5aecab60e2a9b0a562e3e94355438af10833 Mon Sep 17 00:00:00 2001 From: tjr Date: Mon, 6 Jan 2003 06:19:19 +0000 Subject: Note that the printf(3) and scanf(3) family of functions don't deal with multibyte characters in the format string correctly. --- lib/libc/stdio/printf.3 | 8 +++++++- lib/libc/stdio/scanf.3 | 8 +++++++- 2 files changed, 14 insertions(+), 2 deletions(-) (limited to 'lib/libc') diff --git a/lib/libc/stdio/printf.3 b/lib/libc/stdio/printf.3 index 7e73f24..5cb9b17 100644 --- a/lib/libc/stdio/printf.3 +++ b/lib/libc/stdio/printf.3 @@ -36,7 +36,7 @@ .\" @(#)printf.3 8.1 (Berkeley) 6/4/93 .\" $FreeBSD$ .\" -.Dd December 20, 2002 +.Dd January 4, 2003 .Dt PRINTF 3 .Os .Sh NAME @@ -872,3 +872,9 @@ modifier for floating point formats simply round the argument to .Vt double , providing no additional precision. +.Pp +The +.Nm +family of functions do not correctly handle multibyte characters in the +.Fa format +argument. diff --git a/lib/libc/stdio/scanf.3 b/lib/libc/stdio/scanf.3 index 55367c4..a325f37 100644 --- a/lib/libc/stdio/scanf.3 +++ b/lib/libc/stdio/scanf.3 @@ -36,7 +36,7 @@ .\" @(#)scanf.3 8.2 (Berkeley) 12/11/93 .\" $FreeBSD$ .\" -.Dd December 20, 2002 +.Dd January 4, 2003 .Dt SCANF 3 .Os .Sh NAME @@ -530,3 +530,9 @@ The and .Cm \&%A floating-point formats are not implemented. +.Pp +The +.Nm +family of functions do not correctly handle multibyte characters in the +.Fa format +argument. -- cgit v1.1