Skip to main content
Open topic with navigation CAPL Functions » General » Function Overview » _atoi64

_atoi64

Valid for: CANoe DE • CANoe:lite DE • CANoe4SW DE • CANoe4SW:lite DE

Function Syntax

int64 _atoi64(char s[]);

Description

Converts the string s to a 64bit integer. The number base is decimal.

Parameters

  • s: String to be converted.

Return Values

  • The converted number.
  • The return value is 0 if the string can’t be converted to a number. It is the largest positive/negative number in case of overflow.

Example

int64 i;
i = _atoi64("12345678901")
strtollstrtoull