strtoull
Valid for: CANoe DE • CANoe:lite DE • CANoe4SW DE • CANoe4SW:lite DEFunction Syntax
Description
Converts the string s to an unsigned 64bit integer. The number base is:- hexadecimal if the string starts with ‘0x’
- octal if it starts with ‘0’
- decimal otherwise
Parameters
- s: String to be converted.
- result: Contains the converted value after the call. The value is 0 if the string can’t be converted to a number. It is the largest possible positive/negative number in case of overflow.
- startIndex: Position in s where the conversion shall begin.
Return Values
- -2: If s is empty or startIndex is larger than strlen(s).
- -1: An overflow occurs.