mirror of
https://github.com/coreutils/coreutils.git
synced 2025-01-10 18:13:25 +08:00
.
This commit is contained in:
parent
236c02759b
commit
a9ff449aa6
@ -14,6 +14,11 @@ double strtod ();
|
||||
#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;
|
||||
|
Loading…
Reference in New Issue
Block a user