diff options
author | Erik Andersen <andersen@codepoet.org> | 2000-05-14 06:36:48 +0000 |
---|---|---|
committer | Erik Andersen <andersen@codepoet.org> | 2000-05-14 06:36:48 +0000 |
commit | 557676bdf528741f188f6af0e7bb5f25e29e7d3e (patch) | |
tree | 69a82c960d2d17fa6da7cafa88a607a9f0aa9e83 /include/stdlib.h | |
parent | c3a27f5095a50bef9e56f19eeed1176319e189e2 (diff) |
Work in progress -- cleanups.
-Erik
Diffstat (limited to 'include/stdlib.h')
-rw-r--r-- | include/stdlib.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/stdlib.h b/include/stdlib.h index 27c0a5885..622d5ce38 100644 --- a/include/stdlib.h +++ b/include/stdlib.h @@ -57,6 +57,8 @@ extern int qsort __P ((char *base, int num, int size, int (*cmp)())); extern char * gcvt __P ((float number, size_t ndigit, char * buf)); #define atof(x) strtod((x),(char**)0) +#define atoi(x) (int)strtol((x),(char**)0,10) +#define atol(x) strtol((x),(char**)0,10) /* Returned by `div'. */ typedef struct |