1ATOF(3) Linux Programmer's Manual ATOF(3)
2
3
4
6 atof - convert a string to a double
7
9 #include <stdlib.h>
10
11 double atof(const char *nptr);
12
14 The atof() function converts the initial portion of the string pointed
15 to by nptr to double. The behavior is the same as
16
17 strtod(nptr, NULL);
18
19 except that atof() does not detect errors.
20
22 The converted value.
23
25 SVr4, POSIX.1-2001, 4.3BSD, C89, C99.
26
28 atoi(3), atol(3), strtod(3), strtol(3), strtoul(3)
29
31 This page is part of release 3.53 of the Linux man-pages project. A
32 description of the project, and information about reporting bugs, can
33 be found at http://www.kernel.org/doc/man-pages/.
34
35
36
37GNU 2012-08-03 ATOF(3)