projects
/
unix-history
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
BSD 4_3 release
[unix-history]
/
usr
/
man
/
man3
/
atof.3
diff --git
a/usr/man/man3/atof.3
b/usr/man/man3/atof.3
index
4eb2760
..
fe04716
100644
(file)
--- a/
usr/man/man3/atof.3
+++ b/
usr/man/man3/atof.3
@@
-1,39
+1,38
@@
-.TH ATOF 3
+.\" @(#)atof.3 6.1 (Berkeley) 5/15/85
+.\"
+.TH ATOF 3 "May 15, 1985"
+.AT 3
.SH NAME
atof, atoi, atol \- convert ASCII to numbers
.SH SYNOPSIS
.SH NAME
atof, atoi, atol \- convert ASCII to numbers
.SH SYNOPSIS
+.nf
.B double atof(nptr)
.B double atof(nptr)
-.br
.B char *nptr;
.PP
.B atoi(nptr)
.B char *nptr;
.PP
.B atoi(nptr)
-.br
.B char *nptr;
.PP
.B long atol(nptr)
.B char *nptr;
.PP
.B long atol(nptr)
-.br
.B char *nptr;
.B char *nptr;
+.fi
.SH DESCRIPTION
These functions convert a string pointed to by
.I nptr
.SH DESCRIPTION
These functions convert a string pointed to by
.I nptr
-to floating, integer, and long integer
-representation respectively.
+to floating, integer, and long integer representation respectively.
The first unrecognized character ends the string.
.PP
.I Atof
The first unrecognized character ends the string.
.PP
.I Atof
-recognizes an optional string of tabs and spaces,
-then an optional sign, then
+recognizes an optional string of spaces, then an optional sign, then
a string of digits optionally containing a decimal
a string of digits optionally containing a decimal
-point, then an optional `e' or `E' followed
-by an optionally signed integer.
+point, then an optional `e' or `E' followed by an optionally signed integer.
.PP
.I Atoi
and
.I atol
.PP
.I Atoi
and
.I atol
-recognize an optional string of
tabs and spaces,
-
then an optional sign, then a
string of
+recognize an optional string of
spaces, then an optional sign, then a
+string of
digits.
.SH SEE ALSO
digits.
.SH SEE ALSO
-scanf(3)
+scanf(3
S
)
.SH BUGS
There are no provisions for overflow.
.SH BUGS
There are no provisions for overflow.