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 behaviour 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
30
31
32GNU                               1993-03-29                           ATOF(3)
Impressum