From 2f278c9480ed5362c422526acb36d9450ed682d7 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Thu, 9 Aug 2001 20:23:16 +0000 Subject: Update. * stdio-common/vfscanf.c: Fix reading of wide chars and strings if not COMPILE_WSCANF. --- manual/stdio.texi | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'manual') 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} -- cgit 1.4.1