1ATOF(3)                    Linux Programmer's Manual                   ATOF(3)
2
3
4

NAME

6       atof - convert a string to a double
7

SYNOPSIS

9       #include <stdlib.h>
10
11       double atof(const char *nptr);
12

DESCRIPTION

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, (char **) NULL);
18
19       except that atof() does not detect errors.
20

RETURN VALUE

22       The converted value.
23

CONFORMING TO

25       SVr4, POSIX.1-2001, 4.3BSD, C89, C99.
26

SEE ALSO

28       atoi(3), atol(3), strtod(3), strtol(3), strtoul(3)
29

COLOPHON

31       This page is part of release 3.25 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                               1993-03-29                           ATOF(3)
Impressum