From fe7bdd630fab35270a88b0731cd0fc10de062046 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Wed, 2 Apr 1997 22:06:24 +0000 Subject: Update. 1997-04-02 16:55 Ulrich Drepper * manual/socket.texi: Document behaviour of inet_ntoa in multi- threaded programs. * manual/stdio.texi: Change wording for snprintf description a bit. Correct typo in example. * manual/lang.texi: Add documentation of __va_copy. * Makefile: Add rule to easily generate dir-add.texi file. * manual/Makefile: Likewise. * manual/arith.texi: Add description of lldiv_t, lldiv, and atoll. Change description of strtoll and strtoull to make clear these are the preferred names. Describe `inf', `inifinity', `nan', `nan(...)' inputs for strtod and friends. Change references to HUGE_VALf and HUGE_VALl to HUGE_VALF and HUGE_VALL. * sysdeps/libm-ieee754/s_nan.c: Use strtod if parameter is not empty * sysdeps/libm-ieee754/s_nanl.c: Likewise. --- manual/stdio.texi | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'manual/stdio.texi') diff --git a/manual/stdio.texi b/manual/stdio.texi index 103be34abb..dd8555478a 100644 --- a/manual/stdio.texi +++ b/manual/stdio.texi @@ -1479,11 +1479,11 @@ the @var{size} 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} characters for the string @var{s}. -The return value is the number of characters which are generated for the -given input. If this value is greater than @var{size}, not all -characters from the result have been stored in @var{s}. You should -try again with a bigger output string. Here is an example of doing -this: +The return value is the number of characters which would be generated +for the given input. If this value is greater or equal to @var{size}, +not all characters from the result have been stored in @var{s}. You +should try again with a bigger output string. Here is an example of +doing this: @smallexample @group @@ -1503,7 +1503,7 @@ make_message (char *name, char *value) name, value); @end group @group - if (nchars) >= size) + if (nchars >= size) @{ /* @r{Reallocate buffer now that we know how much space is needed.} */ buffer = (char *) xrealloc (buffer, nchars + 1); -- cgit 1.4.1