ref: ce72cab0e49c08c71888c57cf616563b90d7497a dir: /sys/src/ape/lib/ap/gen/itol.c/
#include <stdlib.h> long itol(const char *s) { return(strtol(s, (char **)0, 10)); }