Converts a string to integer.
| [in] | str | String to convert |
| [out] | success | Optional flag indicating successful conversion |
Converts a string to integer with explicit base handling. Supports base 2, 8, 10, 16 and prefixes 0x, 0b.
| [in] | str | String to convert |
| [in,out] | base | 0 = auto-detect, otherwise forces given base |
| [out] | success | Optional flag indicating successful conversion |
The following demonstrate a call to the strtol interface.