view modules/xstrtoll @ 14730:f0a9a2cd267c

fclose: preserve fflush errors Caught by gcc -Werror=unused-but-set-variable. * lib/fclose.c (rpl_fclose): Don't lose fflush errors. Reported by Jim Meyering. Signed-off-by: Eric Blake <eblake@redhat.com>
author Eric Blake <eblake@redhat.com>
date Wed, 11 May 2011 11:35:06 -0600
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