aboutsummaryrefslogtreecommitdiff
path: root/manual/stdio.texi
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2001-04-22 03:20:24 +0000
committerUlrich Drepper <drepper@redhat.com>2001-04-22 03:20:24 +0000
commit5a74e68a52e0ef995733b27044dffeb8c7ce3dcd (patch)
tree3d608fd529f64e879db8abb4f06241258981eafc /manual/stdio.texi
parentd6f86085146dd972f46784defd5eefcf923ec696 (diff)
downloadglibc-5a74e68a52e0ef995733b27044dffeb8c7ce3dcd.tar
glibc-5a74e68a52e0ef995733b27044dffeb8c7ce3dcd.tar.gz
glibc-5a74e68a52e0ef995733b27044dffeb8c7ce3dcd.tar.bz2
glibc-5a74e68a52e0ef995733b27044dffeb8c7ce3dcd.zip
(Formatted Output Functions): Fix description of snprintf.
Diffstat (limited to 'manual/stdio.texi')
-rw-r--r--manual/stdio.texi10
1 files changed, 5 insertions, 5 deletions
diff --git a/manual/stdio.texi b/manual/stdio.texi
index 7a37b89db0..0b9dfe5cee 100644
--- a/manual/stdio.texi
+++ b/manual/stdio.texi
@@ -2363,11 +2363,11 @@ make_message (char *name, char *value)
In practice, it is often easier just to use @code{asprintf}, below.
-@strong{Attention:} In the GNU C library version 2.0 the return value
-is the number of characters stored, not including the terminating null.
-If this value equals @code{@var{size} - 1}, then there was not enough
-space in @var{s} for all the output. This change was necessary with
-the adoption of snprintf by ISO C99.
+@strong{Attention:} In versions of the GNU C library prior to 2.1 the
+return value is the number of characters stored, not including the
+terminating null; unless there was not enough space in @var{s} to
+store the result in which case @code{-1} is returned. This was
+changed in order to comply with the @w{ISO C99} standard.
@end deftypefun
@node Dynamic Output