The strtol function returns the numerical representation
of the given string as an int value. Conversion ends at the
first character that does not fit into the format of an
integer constant.
If an error occurs during conversion of the string 0
will be returned.