4ed44ab58e
A better way of implementing the string to double conversion and a better way of testing it. Signed-off-by: Craig Small <csmall@enc.com.au>
13 lines
324 B
C
13 lines
324 B
C
/*
|
|
* This header was copied from util-linux at fall 2011.
|
|
*/
|
|
|
|
#ifndef PROCPS_NG_STRUTILS
|
|
#define PROCPS_NG_STRUTILS
|
|
|
|
extern long strtol_or_err(const char *str, const char *errmesg);
|
|
extern double strtod_or_err(const char *str, const char *errmesg);
|
|
extern double strtod_nol_or_err(char *str, const char *errmesg);
|
|
|
|
#endif
|