should parse a number.
The second (optional) argument specifies the base to be used for
the conversion.
+(This argument is converted to numeric form using
+.BR atoi (3),
+a function that performs no error checking and
+has a simpler interface than
+.BR strtol ().)
Some examples of the results produced by this program are the following:
.in +0.25i
.nf
exit(EXIT_FAILURE);
}
- /* If we got here, strtol() sucessfully parsed a number */
+ /* If we got here, strtol() successfully parsed a number */
printf("strtol() returned %ld\\n", val);