strutils: new wrapper function strtoll_or_err

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
This commit is contained in:
Sami Kerola 2011-02-20 00:00:37 +01:00 committed by Karel Zak
parent 94a50e285a
commit 94d32126bf
2 changed files with 25 additions and 0 deletions

View file

@ -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);