summary refs log tree commit diff
path: root/manual
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2001-08-09 20:23:16 +0000
committerUlrich Drepper <drepper@redhat.com>2001-08-09 20:23:16 +0000
commit2f278c9480ed5362c422526acb36d9450ed682d7 (patch)
tree08fb23850c2d923542be7a758b952e44edae5c8e /manual
parent5569e0a6fb5c99cfb1b6b9ac020edfa95f710603 (diff)
downloadglibc-2f278c9480ed5362c422526acb36d9450ed682d7.tar.gz
glibc-2f278c9480ed5362c422526acb36d9450ed682d7.tar.xz
glibc-2f278c9480ed5362c422526acb36d9450ed682d7.zip
Update.
	* stdio-common/vfscanf.c: Fix reading of wide chars and strings if
	not COMPILE_WSCANF.
Diffstat (limited to 'manual')
-rw-r--r--manual/stdio.texi10
1 files changed, 5 insertions, 5 deletions
diff --git a/manual/stdio.texi b/manual/stdio.texi
index bd140e46d7..19a84a4e4c 100644
--- a/manual/stdio.texi
+++ b/manual/stdio.texi
@@ -2295,11 +2295,11 @@ argument specifies the maximum number of characters to produce.  The
 trailing null character is counted towards this limit, so you should
 allocate at least @var{size} wide characters for the string @var{ws}.
 
-The return value is the number of characters which would be generated
-for the given input, excluding the trailing null.  If this value is
-greater or equal to @var{size}, not all characters from the result have
-been stored in @var{ws}.  You should try again with a bigger output
-string.
+The return value is the number of characters generated for the given
+input, excluding the trailing null.  If not all output fits into the
+provided buffer a negative value is returned.  You should try again with
+a bigger output string.  @emph{Note:} this is different from how
+@code{snprintf} handles this situation.
 
 Note that the corresponding narrow stream function takes fewer
 parameters.  @code{swprintf} in fact corresponds to the @code{snprintf}