From 3a9dccd76ee6916d5586a3fba49cb8e0edb3ca5d Mon Sep 17 00:00:00 2001 From: rsc Date: Fri, 2 Apr 2004 22:57:49 +0000 Subject: Change _p9strsig to return nil if tmp==nil. Add atoi, atol, atoll. These versions call strtol/strtoll with base==0. The Unix versions use base==10. --- src/lib9/await.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/lib9/await.c') diff --git a/src/lib9/await.c b/src/lib9/await.c index a97c6d18..c6c7122c 100644 --- a/src/lib9/await.c +++ b/src/lib9/await.c @@ -56,6 +56,8 @@ _p9sigstr(int sig, char *tmp) for(i=0; i