diff options
Diffstat (limited to 'lib/libc/stdlib/atof.c')
| -rw-r--r-- | lib/libc/stdlib/atof.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/libc/stdlib/atof.c b/lib/libc/stdlib/atof.c new file mode 100644 index 00000000..5f5fc91f --- /dev/null +++ b/lib/libc/stdlib/atof.c @@ -0,0 +1,6 @@ +#include <stdlib.h> + +double atof(const char *str) +{ + return strtod(str, (char **)NULL); +} |
