Section: Linux Programmer's Manual (3)
Return to Main Contents
atof - convert a string to a double
double atof(const char *nptr);
function converts the initial portion of the string
pointed to by nptr
The behavior is the same as
does not detect errors.
The converted value.
Multithreading (see pthreads(7))
function is thread-safe with exceptions.
It can be safely used in multithreaded applications, as long as
is not called to change the locale during its execution.
SVr4, POSIX.1-2001, 4.3BSD, C89, C99.
This page is part of release 3.74 of the Linux
A description of the project,
information about reporting bugs,
and the latest version of this page,
can be found at
- RETURN VALUE
- Multithreading (see pthreads(7))
- CONFORMING TO
- SEE ALSO