7 lines
87 B
C
7 lines
87 B
C
|
#include <stdlib.h>
|
||
|
|
||
|
int atoi(char const *ptr)
|
||
|
{
|
||
|
return (int)strtol(ptr, NULL, 10);
|
||
|
}
|