diff options
| author | riastradh <riastradh@NetBSD.org> | 2016-11-07 21:51:42 +0000 |
|---|---|---|
| committer | riastradh <riastradh@NetBSD.org> | 2016-11-07 21:51:42 +0000 |
| commit | f5aab61c523232bd52e5f3b5dbcd7b7f39f6a217 (patch) | |
| tree | 21a59e0da13e0f20676a46f72c679c2156bd2508 /lib/libc/stdlib | |
| parent | 116a292186e3357cd0bdb8ca956ce08c32e91316 (diff) | |
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 (limited to 'lib/libc/stdlib')
| -rw-r--r-- | lib/libc/stdlib/strtod.3 | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/libc/stdlib/strtod.3 b/lib/libc/stdlib/strtod.3 index 5bcfbb5c623..f0dd57f6c16 100644 --- a/lib/libc/stdlib/strtod.3 +++ b/lib/libc/stdlib/strtod.3 @@ -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 @@ the closest subnormal value, or zero, is returned, and 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 , |
