avoid hitting eof in wcstol
[oweals/musl.git] / src / stdlib / atof.c
1 #include <stdlib.h>
2
3 double atof(const char *s)
4 {
5         return strtod(s, 0);
6 }