ref: 4d4b825dea3c41bdad7d10ae32e7d04c1a3712d0 dir: /sys/src/libc/port/atol.c/
#include <u.h> #include <libc.h> long atol(char *s) { return strtol(s, nil, 10); } int atoi(char *s) { return strtol(s, nil, 10); }