view modules/xstrtol @ 4816:07ab22e0779a

(alloca): xmalloc cannot return NULL, so don't test for that.
author Paul Eggert <eggert@cs.ucla.edu>
date Mon, 27 Oct 2003 07:12:11 +0000
parents 3ccc6d0d52bb
children 0ffd1692e066
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
m4/ulonglong.m4
m4/longlong.m4
m4/stdint_h.m4
m4/inttypes_h.m4
m4/uintmax_t.m4
m4/intmax_t.m4
m4/xstrtol.m4

Depends-on:

configure.ac:
gl_XSTRTOL

Makefile.am:
lib_SOURCES += xstrtol.h xstrtol.c xstrtoul.c

Include:
"xstrtol.h"

Maintainer:
Jim Meyering