HELPLIB.HLB  —  RTL Routines, LIB$  LIB$ADD_TIMES
    The Add Two Quadword Times routine adds two internal format
    times.

    Format

      LIB$ADD_TIMES  time1 ,time2 ,resultant-time

1  –  Returns

    OpenVMS usage:cond_value
    type:         longword (unsigned)
    access:       write only
    mechanism:    by value

2  –  Arguments

 time1

    OpenVMS usage:date_time
    type:         quadword (unsigned)
    access:       read only
    mechanism:    by reference

    First time that LIB$ADD_TIMES adds to the second time. The time1
    argument is the address of an unsigned quadword containing the
    first time to be added. The time1 argument may be either a delta
    time or an absolute time; however, at least one of the arguments,
    time1 or time2, must be a delta time.

 time2

    OpenVMS usage:date_time
    type:         quadword (unsigned)
    access:       read only
    mechanism:    by reference

    Second time that LIB$ADD_TIMES adds to the first time. The time2
    argument is the address of an unsigned quadword containing the
    second time to be added. The time2 argument may be either a delta
    time or an absolute time; however, at least one of the arguments,
    time1 or time2, must be a delta time.

 resultant-time

    OpenVMS usage:date_time
    type:         quadword (unsigned)
    access:       write only
    mechanism:    by reference

    The result of adding time1 and time2. The resultant-time argument
    is the address of an unsigned quadword containing the result. If
    both time1 and time2 are delta times, then resultant-time is a
    delta time. Otherwise, resultant-time is an absolute time.
Close Help