#include <sys/ddi.h>int stoi(char **str);
Solaris DDI specific (Solaris DDI).
Pointer to a character string to be converted.
Decimal number to be converted to a character string.
Character buffer to hold converted decimal number.
stoi() returns the integer value of a string of decimal numeric characters beginning at **str. No overflow checking is done. *str is updated to point at the last character examined.
numtos() converts a long into a null-terminated character string. No bounds checking is done. The caller must ensure there is enough space to hold the result.
stoi() returns the integer value of the string str.
stoi() can be called from user or interrupt context.
stoi() handles only positive integers; it does not handle leading minus signs.