aboutsummaryrefslogtreecommitdiff
path: root/manual/stdio.texi
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1999-05-29 22:47:03 +0000
committerUlrich Drepper <drepper@redhat.com>1999-05-29 22:47:03 +0000
commitfb97136391ea0e5a1774c830a7bf08ef004d9d66 (patch)
treede5f6686dae9fc777963177b6434708d201e0855 /manual/stdio.texi
parent0a1752b85ec638051a777cc4175e55011fbadeb5 (diff)
downloadglibc-fb97136391ea0e5a1774c830a7bf08ef004d9d66.zip
glibc-fb97136391ea0e5a1774c830a7bf08ef004d9d66.tar.gz
glibc-fb97136391ea0e5a1774c830a7bf08ef004d9d66.tar.bz2
Update.
1999-05-29 Ulrich Drepper <drepper@cygnus.com> * manual/filesys.texi: Extend (f)truncate documentation. * manual/llio.texi: Remove duplicate (f)truncate definition. 1999-05-29 Andreas Jaeger <aj@arthur.rhein-neckar.de> * manual/stdio.texi (Formatted Output Functions): Mention semantics of snprintf in glibc 2.0. Reported by Ben Pfaff <pfaffben@msu.edu>. 1999-05-29 Ulrich Drepper <drepper@cygnus.com> * include/features.h (__GLIBC_MINOR__): Bump to 2.
Diffstat (limited to 'manual/stdio.texi')
-rw-r--r--manual/stdio.texi6
1 files changed, 6 insertions, 0 deletions
diff --git a/manual/stdio.texi b/manual/stdio.texi
index 3449a51..9cf4c9f 100644
--- a/manual/stdio.texi
+++ b/manual/stdio.texi
@@ -1616,6 +1616,12 @@ make_message (char *name, char *value)
@end smallexample
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 neccessary with
+the adoption of snprintf by ISO C9x.
@end deftypefun
@node Dynamic Output