Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/libc/stdlib Fix phrasing about `out-of-band' and `sentin...



details:   https://anonhg.NetBSD.org/src/rev/19ae2f3dac02
branches:  trunk
changeset: 348792:19ae2f3dac02
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Mon Nov 07 21:51:42 2016 +0000

description:
Fix phrasing about `out-of-band' and `sentinel value'.

Either an out-of-band channel, or an in-band sentinel value, could
indicate an error, but an out-of-band sentinel value is a silly
proposition.

Noted by uwe@.

diffstat:

 lib/libc/stdlib/strtod.3 |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (22 lines):

diff -r 313162a4aafc -r 19ae2f3dac02 lib/libc/stdlib/strtod.3
--- a/lib/libc/stdlib/strtod.3  Mon Nov 07 21:46:21 2016 +0000
+++ b/lib/libc/stdlib/strtod.3  Mon Nov 07 21:51:42 2016 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: strtod.3,v 1.27 2016/11/04 20:06:09 riastradh Exp $
+.\"    $NetBSD: strtod.3,v 1.28 2016/11/07 21:51:42 riastradh Exp $
 .\"
 .\" Copyright (c) 1990, 1991, 1993
 .\"    The Regents of the University of California.  All rights reserved.
@@ -171,9 +171,9 @@
 is stored in
 .Va errno .
 .Sh EXAMPLES
-Since there is no out-of-band sentinel value to indicate an error,
-callers who wish to know whether there was overflow or underflow must
-set
+Since there is no out-of-band channel or sentinel value to indicate an
+error, callers who wish to know whether there was overflow or underflow
+must set
 .Va errno
 to zero before calling
 .Fn strtod ,



Home | Main Index | Thread Index | Old Index