1 .\" Copyright 1993 David Metcalfe (david@prism.demon.co.uk)
3 .\" SPDX-License-Identifier: Linux-man-pages-copyleft
5 .\" References consulted:
6 .\" Linux libc source code
7 .\" Lewine's _POSIX Programmer's Guide_ (O'Reilly & Associates, 1991)
9 .\" Modified Mon Mar 29 22:39:24 1993, David Metcalfe
10 .\" Modified Sat Jul 24 21:39:22 1993, Rik Faith (faith@cs.unc.edu)
11 .TH atof 3 (date) "Linux man-pages (unreleased)"
13 atof \- convert a string to a double
16 .RI ( libc ", " \-lc )
19 .B #include <stdlib.h>
21 .BI "double atof(const char *" nptr );
26 function converts the initial portion of the string
27 pointed to by \fInptr\fP to
29 The behavior is the same as
39 does not detect errors.
43 For an explanation of the terms used in this section, see
51 Interface Attribute Value
54 T} Thread safety MT-Safe locale
60 POSIX.1-2001, POSIX.1-2008, C89, C99, SVr4, 4.3BSD.