summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authortjr <tjr@FreeBSD.org>2003-01-06 06:19:19 +0000
committertjr <tjr@FreeBSD.org>2003-01-06 06:19:19 +0000
commit0c0f5aecab60e2a9b0a562e3e94355438af10833 (patch)
treef70e771c6e37168a6957432c8a1b876b515d3689 /lib/libc
parentdc45c76582f3fb98b143cd6efa221aced28e289b (diff)
downloadFreeBSD-src-0c0f5aecab60e2a9b0a562e3e94355438af10833.zip
FreeBSD-src-0c0f5aecab60e2a9b0a562e3e94355438af10833.tar.gz
Note that the printf(3) and scanf(3) family of functions don't deal with
multibyte characters in the format string correctly.
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/stdio/printf.38
-rw-r--r--lib/libc/stdio/scanf.38
2 files changed, 14 insertions, 2 deletions
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.
OpenPOWER on IntegriCloud