diff options
author | rsc <devnull@localhost> | 2004-04-08 19:31:48 +0000 |
---|---|---|
committer | rsc <devnull@localhost> | 2004-04-08 19:31:48 +0000 |
commit | a67406e465169623421beba9072b213a8e75c423 (patch) | |
tree | 946b105fea5a504616c295fcc3bcd5113be86ef1 | |
parent | 6f6553dfb7ab5b286e3ac75348eb85dc8fda6666 (diff) | |
download | plan9port-a67406e465169623421beba9072b213a8e75c423.tar.gz plan9port-a67406e465169623421beba9072b213a8e75c423.tar.bz2 plan9port-a67406e465169623421beba9072b213a8e75c423.zip |
Plan 9 atoi, ...
-rw-r--r-- | include/libc.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/include/libc.h b/include/libc.h index 49e6ccb0..4550eda9 100644 --- a/include/libc.h +++ b/include/libc.h @@ -343,10 +343,10 @@ extern int atnotify(int(*)(void*, char*), int); /* * <stdlib.h> extern double atof(char*); <stdlib.h> -extern int atoi(char*); -extern long atol(char*); */ -extern vlong atoll(const char*); +extern int p9atoi(char*); +extern long p9atol(char*); +extern vlong p9atoll(char*); extern double charstod(int(*)(void*), void*); extern char* cleanname(char*); extern int p9decrypt(void*, void*, int); @@ -400,6 +400,9 @@ extern long p9time(long*); #ifndef NOPLAN9DEFINES #define atexit p9atexit #define atexitdont p9atexitdont +#define atoi p9atoi +#define atol p9atol +#define atoll p9atoll #define encrypt p9encrypt #define decrypt p9decrypt #define getenv p9getenv |