Mercurial > gnulib
view lib/xstrtoul.c @ 4788:33e8f958b651
Handle invalid suffixes and overflow independently, so that
callers can treat them independently as needed. Fix some bugs in
suffix handling.
author | Paul Eggert <eggert@cs.ucla.edu> |
---|---|
date | Tue, 14 Oct 2003 20:08:25 +0000 |
parents | 81038bec009c |
children |
line wrap: on
line source
#define __strtol strtoul #define __strtol_t unsigned long int #define __xstrtol xstrtoul #define STRTOL_T_MINIMUM 0 #define STRTOL_T_MAXIMUM ULONG_MAX #include "xstrtol.c"