1
0
mirror of https://github.com/adtools/clib2.git synced 2025-12-08 14:59:05 +00:00

- Added strtoll() and strtoull(), with further changes to <limits.h>

and <stdlib.h>.


git-svn-id: file:///Users/olsen/Code/migration-svn-zu-git/logical-line-staging/clib2/trunk@14729 87f5fb63-7c3d-0410-a384-fd976d0f7a62
This commit is contained in:
Olaf Barthel
2004-09-20 17:16:07 +00:00
parent 7d21a272cc
commit a4b138e406
8 changed files with 431 additions and 5 deletions

View File

@ -1,5 +1,5 @@
/*
* $Id: limits.h,v 1.2 2004-08-07 09:15:33 obarthel Exp $
* $Id: limits.h,v 1.3 2004-09-20 17:16:07 obarthel Exp $
*
* :ts=4
*
@ -58,6 +58,12 @@
/****************************************************************************/
#define LLONG_MIN (-0x7fffffffffffffffLL-1)
#define LLONG_MAX 0x7fffffffffffffffLL
#define ULLONG_MAX 0xffffffffffffffffULL
/****************************************************************************/
#define PATH_MAX 1024
/****************************************************************************/

View File

@ -1,5 +1,5 @@
/*
* $Id: stdlib.h,v 1.2 2004-08-07 09:15:33 obarthel Exp $
* $Id: stdlib.h,v 1.3 2004-09-20 17:16:07 obarthel Exp $
*
* :ts=4
*
@ -151,6 +151,11 @@ extern long atol(const char *str);
/****************************************************************************/
extern long long strtoll(const char *str, char **ptr, int base);
extern unsigned long long strtoull(const char *str, char **ptr, int base);
/****************************************************************************/
#if defined(__GNUC__)
#if defined(alloca)
#undef alloca