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