changeset 20259:b8bcd96ab3d9

.
author Jim Meyering <jim@meyering.net>
date Sun, 24 Mar 1996 18:13:56 +0000
parents ba116af9eab2
children 1d971059c42a
files lib/xstrtod.c
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lib/xstrtod.c	Thu Mar 14 05:21:44 1996 +0000
+++ b/lib/xstrtod.c	Sun Mar 24 18:13:56 1996 +0000
@@ -14,6 +14,11 @@
 #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;