#include <stdlib.h>
int atoi(const char *str);
Partially implemented
IEEE Std 1003.1-2017
The purpose is to convert a string to an integer. The call atoi(str)
shall be equivalent to:
(int) strtol(str, (char **)NULL, 10)
except that the handling of errors may differ. If the value cannot be represented, the behavior is undefined.
The atoi()
function shall return the converted value if the value can be represented.
No errors are defined.
Untested
None