atoi.c - 9base - revived minimalist port of Plan 9 userland to Unix | |
git clone git://git.suckless.org/9base | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
atoi.c (82B) | |
--- | |
1 #include <u.h> | |
2 #include <libc.h> | |
3 | |
4 int | |
5 atoi(char *s) | |
6 { | |
7 return strtol(s, 0, 0); | |
8 } | |
9 |