view modules/xstrtoll @ 17450:fcdfb5b7741a

* lib/tmpdir.c: Simplify code to add slash; no need for a loop.
author Paul Eggert <eggert@cs.ucla.edu>
date Mon, 15 Jul 2013 13:32:24 -0700
parents fcd269d69e88
children
line wrap: on
line source

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