1
0
mirror of https://git.savannah.gnu.org/git/gnulib.git synced 2025-08-14 14:01:48 +03:00
Files
gnulib/modules/xstrtoll
Jim Meyering 99b7042563 xstrtoll: new module
* modules/xstrtoll: New file.
* MODULES.html.sh (Numeric conversion functions): Add xstrtoll.
* lib/xstrtol.h [HAVE_LONG_LONG_INT]: Declare xstrtoll and xstrtoull.
* lib/xstrtoll.c, lib/xstrtoull.c: New files.
./configure fails if you use this module and lack "long long".
* modules/xstrtoll-tests: New module.
* tests/test-xstrtoll.c, tests/test-xstrtoull.c: New files.
* tests/test-xstrtoll.sh: Like test-xstrtol.c, but use the
new init.sh-based test framework.
2010-01-25 12:04:15 +01:00

31 lines
455 B
Plaintext

Description:
Convert string to 'long long' or 'unsigned long long', with error checking.
Files:
lib/xstrtoll.c
lib/xstrtoull.c
Depends-on:
strtoll
strtoull
xstrtol
configure.ac:
AC_LIBOBJ([xstrtoll])
AC_LIBOBJ([xstrtoull])
AC_TYPE_LONG_LONG_INT
test $ac_cv_type_long_long_int = no \
&& AC_MSG_ERROR(
[you lack long long support; required by gnulib's xstrtoll module])
Makefile.am:
Include:
"xstrtol.h"
License:
GPL
Maintainer:
Jim Meyering