.
authorJim Meyering <jim@meyering.net>
Sun, 24 Mar 1996 18:13:56 +0000 (18:13 +0000)
committerJim Meyering <jim@meyering.net>
Sun, 24 Mar 1996 18:13:56 +0000 (18:13 +0000)
lib/xstrtod.c

index 838c5c4..bab8b12 100644 (file)
@@ -14,6 +14,11 @@ double strtod ();
 #include <ctype.h>
 #include "xstrtod.h"
 
 #include <ctype.h>
 #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;
 int
 xstrtod (str, ptr, result)
      const char *str;