view modules/xstrtoll @ 40194:33c4cac699fe

nstrftime: tweak arg order * lib/nstrftime.c (__strftime_internal): Interchange arg order. All callers changed. Suggested by TAMUKI Shoichi in: https://lists.gnu.org/r/bug-gnulib/2019-02/msg00052.html
author Paul Eggert <eggert@cs.ucla.edu>
date Sat, 23 Feb 2019 15:07:47 -0800
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