atolConverts a string to an integer | |||
Arguments
Return ValueThe integer value of the converted character string is returned.ExplanationThe string pointed to by s is converted to its integer equivalent and its value is returned. atol(s) is equivalent to (long)strtol(s,(char**)NULL). Since int and long are declared as the same type in the R3000, atol() is also equivalent to atoi().See Alsoatoi(), strtol() |