view tests/test-xstrtoll.c @ 12814:fcd269d69e88

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.
author Jim Meyering <meyering@redhat.com>
date Sat, 23 Jan 2010 11:52:44 +0100
parents
children
line wrap: on
line source

#define __xstrtol xstrtoll
#define __strtol_t long long int
#define __spec PRId64
#include "test-xstrtol.c"