fix wide scanf's handling of input failure on %c, and simplify %[
[musl] / src / stdlib / atof.c
1 #include <stdlib.h>
2
3 double atof(const char *s)
4 {
5         return strtod(s, 0);
6 }