xstrtoll: new module
authorJim Meyering <meyering@redhat.com>
Sat, 23 Jan 2010 10:52:44 +0000 (11:52 +0100)
committerJim Meyering <meyering@redhat.com>
Mon, 25 Jan 2010 11:04:15 +0000 (12:04 +0100)
commit99b7042563670fc4e315685f771d1708909ea3ec
treead5707b6c3db5fb165b43cca8be381085ce7271b
parent0d92ff0717ae44fc7098f1f00aec634e5e79f2e9
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.
ChangeLog
MODULES.html.sh
lib/xstrtol.h
lib/xstrtoll.c [new file with mode: 0644]
lib/xstrtoull.c [new file with mode: 0644]
modules/xstrtoll [new file with mode: 0644]
modules/xstrtoll-tests [new file with mode: 0644]
tests/test-xstrtoll.c [new file with mode: 0644]
tests/test-xstrtoll.sh [new file with mode: 0755]
tests/test-xstrtoull.c [new file with mode: 0644]