view modules/xstrtoll @ 40244:c39a0edd90d7

fts: minor simplification * lib/fts.c (fts_safe_changedir): Remove redundant assignment.
author Paul Eggert <eggert@cs.ucla.edu>
date Sun, 17 Mar 2019 12:39:50 -0700
parents 849fcaf40bbf
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:
limits-h
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