Mercurial > hg > octave-jordi > gnulib-hg
view lib/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 | 1276be199c4c |
line wrap: on
line source
#define __strtol strtoll #define __strtol_t long long int #define __xstrtol xstrtoll #define STRTOL_T_MINIMUM LONG_LONG_MIN #define STRTOL_T_MAXIMUM LONG_LONG_MAX #include "xstrtol.c"