invextend()

Copy an interval value by adding or dropping fields based on a qualifier.

Syntax

mint invextend(intrvl_t *i, intrvl_t *o);
  1. i a pointer to the initialized interval variable to extend.
  2. o is a pointer to the interval variable with a valid qualifier to use for the extension.

Returns

Table 1. Return codes
Code Description
0 The conversion was successful.
<0 The conversion failed.
-1266 An interval value is incompatible with the operation.
-1268 A parameter contains an invalid interval qualifier.

Usage

The function copies an interval value i to the interval value o, adding or dropping fields based on the qualifier of o .