view modules/xstrtol @ 39821:849fcaf40bbf

xstrtoll: Rely on limits-h module. * lib/xstrtol.c: Don't include intprops.h. (ULLONG_MAX, LLONG_MAX, LLONG_MIN): Remove fallback definitions. * modules/xstrtol (Depends-on): Remove 'intprops'. * modules/xstrtoll (Depends-on): Add 'limits-h'.
author Bruno Haible <bruno@clisp.org>
date Thu, 06 Sep 2018 14:46:06 +0200
parents 39c9960ea17b
children
line wrap: on
line source

Description:
Convert string to 'long' or 'unsigned long', with error checking.

Files:
lib/xstrtol.h
lib/xstrtol.c
lib/xstrtoul.c
lib/xstrtol-error.c
m4/xstrtol.m4

Depends-on:
assure
exitfail
error
getopt-gnu
gettext-h
inttypes-incomplete

configure.ac:
gl_XSTRTOL

Makefile.am:
lib_SOURCES += xstrtol.c xstrtoul.c xstrtol-error.c

Include:
"xstrtol.h"

License:
GPL

Maintainer:
Jim Meyering