incvasc()

Converts an ANSI-standard character string to an interval value.

Syntax

mint incvasc(char *str, intrvl_t *i);
  1. str a pointer to a buffer containing an ANSI-standard interval string.
  2. i is a pointer to an initialized interval variable.

Returns

Table 1. Return codes
Code Description
0 The conversion was successful.
<0 The conversion failed.
-1260 It is not possible to convert between the specified types.
-1261 Too many digits in the first field of datetime or interval.