fxlibc/src/stdlib/atoi.c

7 lines
87 B
C
Raw Normal View History

2021-05-20 11:11:24 +02:00
#include <stdlib.h>
int atoi(char const *ptr)
{
return (int)strtol(ptr, NULL, 10);
}