summaryrefslogtreecommitdiffstats
path: root/include/strutils.h
diff options
context:
space:
mode:
authorSami Kerola2011-02-20 00:00:37 +0100
committerKarel Zak2011-02-21 15:32:50 +0100
commit94d32126bf1e7a41cadaa8740ee76b79f1eb59ab (patch)
treebfad90f648d201c9873bc713b7c72e039e0fc46b /include/strutils.h
parentmkswap: use xalloc (diff)
downloadkernel-qcow2-util-linux-94d32126bf1e7a41cadaa8740ee76b79f1eb59ab.tar.gz
kernel-qcow2-util-linux-94d32126bf1e7a41cadaa8740ee76b79f1eb59ab.tar.xz
kernel-qcow2-util-linux-94d32126bf1e7a41cadaa8740ee76b79f1eb59ab.zip
strutils: new wrapper function strtoll_or_err
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Diffstat (limited to 'include/strutils.h')
-rw-r--r--include/strutils.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/strutils.h b/include/strutils.h
index 462332d95..99d8acd2c 100644
--- a/include/strutils.h
+++ b/include/strutils.h
@@ -7,6 +7,7 @@
extern int strtosize(const char *str, uintmax_t *res);
extern long strtol_or_err(const char *str, const char *errmesg);
+extern long long strtoll_or_err(const char *str, const char *errmesg);
#ifndef HAVE_STRNLEN
extern size_t strnlen(const char *s, size_t maxlen);