summaryrefslogtreecommitdiff
path: root/src/lib/libc/stdlib/strtod.3
diff options
context:
space:
mode:
authoraaron <>1999-06-29 18:36:24 +0000
committeraaron <>1999-06-29 18:36:24 +0000
commit5771e6280ed94b6457e5db9facb5899254e4fb7f (patch)
tree95397a7ed19a0cddf5a2ebb73dee20cf20fe2c29 /src/lib/libc/stdlib/strtod.3
parent403f5844d16c63a63b8ce33a354e4871cb93df4c (diff)
downloadopenbsd-5771e6280ed94b6457e5db9facb5899254e4fb7f.tar.gz
openbsd-5771e6280ed94b6457e5db9facb5899254e4fb7f.tar.bz2
openbsd-5771e6280ed94b6457e5db9facb5899254e4fb7f.zip
first round of repairs on stdlib
Diffstat (limited to 'src/lib/libc/stdlib/strtod.3')
-rw-r--r--src/lib/libc/stdlib/strtod.38
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/libc/stdlib/strtod.3 b/src/lib/libc/stdlib/strtod.3
index 14981139c6..6bba73e89a 100644
--- a/src/lib/libc/stdlib/strtod.3
+++ b/src/lib/libc/stdlib/strtod.3
@@ -33,7 +33,7 @@
33.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 33.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
34.\" SUCH DAMAGE. 34.\" SUCH DAMAGE.
35.\" 35.\"
36.\" $OpenBSD: strtod.3,v 1.3 1999/05/27 20:49:35 aaron Exp $ 36.\" $OpenBSD: strtod.3,v 1.4 1999/06/29 18:36:23 aaron Exp $
37.\" 37.\"
38.Dd June 29, 1991 38.Dd June 29, 1991
39.Dt STRTOD 3 39.Dt STRTOD 3
@@ -50,11 +50,11 @@ string to double
50.Sh DESCRIPTION 50.Sh DESCRIPTION
51The 51The
52.Fn strtod 52.Fn strtod
53function converts the initial portion of the string 53function converts the initial portion of the string
54pointed to by 54pointed to by
55.Fa nptr 55.Fa nptr
56to 56to
57.Em double 57.Li double
58representation. 58representation.
59.Pp 59.Pp
60The expected form of the string is an optional plus (``+'') or minus 60The expected form of the string is an optional plus (``+'') or minus
@@ -93,7 +93,7 @@ is stored in
93If the correct value would cause underflow, zero is 93If the correct value would cause underflow, zero is
94returned and 94returned and
95.Dv ERANGE 95.Dv ERANGE
96is stored in 96is stored in
97.Va errno . 97.Va errno .
98.Sh ERRORS 98.Sh ERRORS
99.Bl -tag -width Er 99.Bl -tag -width Er