int atoi(char *s)
The C Standard Library
Error Conditions: errno.h
The header file stdlib provides prototypes for a selection of miscellaneous "utility" functions, as well as a few more symbolic constants. A small selection of the more commonly used functions is as follows: