stdlib.h - The Official TIGCC Site
Converts a string to a short integer. atoi converts the string pointed to by str to integer. atoi recognizes (in the following order): an optional string of spaces [ws]; an optional sign ('+', '-', or special "small" minus used in TI-Basic) [sn]; a string...