LabWindows/CVI

Content Type
Programming Language
Current manual
Table of Contents

atoll

atoll

long long atoll (const char stringInput[]);

Purpose

Converts the initial portion of a string to a long long int representation. This function is equivalent to the following:
strtoll(stringInput, (char **) NULL, 10)

Parameters

Input
Name Type Description
stringInput const char [] A pointer to the character sequence from which a conversion is made.

Return Value

Name Type Description
convertedValue long long The converted value, if any. If no conversion is possible, the function returns zero. If the correct value is outside the range of representable values, atoll returns LLONG_MAX or LLONG_MIN, according to the sign of the value, and sets errno to ERANGE.

Additional Information

Library: ANSI C Library

Include file: ansi_c.h

LabWindows/CVI compatibility: LabWindows/CVI 8.5 and later

Example

Refer to compiler\c99extensions\c99extensions.cws for an example of using the atoll function.

Was this information helpful?

Previous

atol

Next

atof

Previous

atol

Next

atof