From 62c27c1c5cb6257b13dfc9be0394e0d2e86f2735 Mon Sep 17 00:00:00 2001 From: Robert de Bath Date: Sun, 23 Jan 2005 15:31:04 +0100 Subject: Import Dev86src-0.16.17.tar.gz --- libc/misc/atof.c | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 libc/misc/atof.c (limited to 'libc/misc/atof.c') diff --git a/libc/misc/atof.c b/libc/misc/atof.c new file mode 100644 index 0000000..aeadaa5 --- /dev/null +++ b/libc/misc/atof.c @@ -0,0 +1,16 @@ +/* Copyright (C) Robert de Bath + * This file is part of the Linux-8086 C library and is distributed + * under the GNU Library General Public License. + */ + +double +#ifdef __STDC__ +atof(const char *p) +#else +atof(p) +char *p; +#endif +{ + return strtod(p, (char**)0); +} + -- cgit v1.2.1