Mercurial > hg > octave-lojdl > gnulib-hg
changeset 568:a0eb0db5621b
.
author | Jim Meyering <jim@meyering.net> |
---|---|
date | Sun, 24 Mar 1996 18:13:56 +0000 |
parents | 76c504447672 |
children | f8f1814bb96c |
files | lib/xstrtod.c |
diffstat | 1 files changed, 5 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/lib/xstrtod.c +++ b/lib/xstrtod.c @@ -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;