.\" Copyright (c) 1991 The Regents of the University of California.
.\" This code is derived from software contributed to Berkeley by
.\" the American National Standards Committee X3, on Information
.\" %sccs.include.redist.man%
.\" @(#)atof.3 6.4 (Berkeley) %G%
.Fn atof "const char *nptr"
function converts the initial portion of the string pointed to by
.Bd -literal -offset indent
strtod(nptr, (char **)NULL);
This manual page represents intent instead of actual practice.
While it is intended that
this has not yet happened.
translates a string in the following form to a double: a string of
leading white space, possibly followed by a sign (``+'' or ``-''),
followed by a digit string which may contain one decimal point (``.''),
which may be followed by either of the exponent flags (``E'' or ``e''),
and lastly, followed by a signed or unsigned integer.