From a9ff449aa6e34daa40b8d9e9df7506fa86d3ea3e Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sun, 24 Mar 1996 18:13:56 +0000 Subject: . --- lib/xstrtod.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'lib') diff --git a/lib/xstrtod.c b/lib/xstrtod.c index 838c5c463..bab8b1219 100644 --- a/lib/xstrtod.c +++ b/lib/xstrtod.c @@ -14,6 +14,11 @@ double strtod (); #include #include "xstrtod.h" +/* An interface to strtod that encapsulates all the error checking + one should usually perform. Like strtod, but return zero upon + successful conversion and put the result in *RESULT. Return + non-zero upon any failure. */ + int xstrtod (str, ptr, result) const char *str; -- cgit v1.2.3-54-g00ecf