plan9port

fork of plan9port with libvec, libstr and libsdb
Log | Files | Refs | README | LICENSE

commit a67406e465169623421beba9072b213a8e75c423
parent 6f6553dfb7ab5b286e3ac75348eb85dc8fda6666
Author: rsc <devnull@localhost>
Date:   Thu,  8 Apr 2004 19:31:48 +0000

Plan 9 atoi, ...

Diffstat:
Minclude/libc.h | 9++++++---
1 file changed, 6 insertions(+), 3 deletions(-)

diff --git 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