diff options
Diffstat (limited to 'local/strutils.h')
-rw-r--r-- | local/strutils.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/local/strutils.h b/local/strutils.h new file mode 100644 index 0000000..85a6192 --- /dev/null +++ b/local/strutils.h @@ -0,0 +1,12 @@ +/* + * 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); +double strtod_nol_or_err(char *str, const char *errmesg); + +#endif |