atof.c raw

   1  #include <stdlib.h>
   2  
   3  double atof(const char *s)
   4  {
   5  	return strtod(s, 0);
   6  }
   7