procps/include/strutils.h
Dr. Werner Fink 4ed44ab58e misc: fix strtod_nol_err tests
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>
2016-07-13 20:08:51 +10:00

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