![]() |
strtoul | Function (tigcc.a) |
stdlib.h |
unsigned long strtoul (const char *str, char **endptr, short radix); |
Converts a string to an unsigned long integer using a given radix, with detection of overflows and errors.
strtoul operates the same way as strtol, except that it converts a string str to an unsigned long value (where strtol converts to a long). See strtol for more information. In a case of overflow, strtoul returns ULONG_MAX.