chrCtoi

Read an integer value from a string

Description:

Read an integer value from the given character string.

Invocation

void chrCtoi( const char ∗string, int ∗ivalue, int ∗status )

Parameters :

string
Pointer to a null terminated string holding the string from which an integer value is to be read.
∗ivalue
Returned holding the resulting integer value.
∗status
The status value. If this value is not SAI__OK on input, the function returns without action; if the function does not complete successfully, "status" is returned set to SAI__ERROR.