From fb97136391ea0e5a1774c830a7bf08ef004d9d66 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Sat, 29 May 1999 22:47:03 +0000 Subject: Update. 1999-05-29 Ulrich Drepper * manual/filesys.texi: Extend (f)truncate documentation. * manual/llio.texi: Remove duplicate (f)truncate definition. 1999-05-29 Andreas Jaeger * manual/stdio.texi (Formatted Output Functions): Mention semantics of snprintf in glibc 2.0. Reported by Ben Pfaff . 1999-05-29 Ulrich Drepper * include/features.h (__GLIBC_MINOR__): Bump to 2. --- manual/stdio.texi | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'manual/stdio.texi') diff --git a/manual/stdio.texi b/manual/stdio.texi index 3449a51d2b..9cf4c9fb68 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 -- cgit 1.4.1