Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/stdlib/atoff.c')
-rw-r--r--newlib/libc/stdlib/atoff.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/newlib/libc/stdlib/atoff.c b/newlib/libc/stdlib/atoff.c
new file mode 100644
index 000000000..9c682c47a
--- /dev/null
+++ b/newlib/libc/stdlib/atoff.c
@@ -0,0 +1,9 @@
+#include <stdlib.h>
+#include <_ansi.h>
+
+float
+_DEFUN (atoff, (s),
+ _CONST char *s)
+{
+ return strtodf (s, NULL);
+}