optimize strchrnul/strcspn not to scan string twice on no-match
[musl] / src / stdlib / atof.c
1 #include <stdlib.h>
2
3 double atof(const char *s)
4 {
5         return strtod(s, 0);
6 }