VMS Help  —  System Services, $GOTO UNWIND 64 (Alpha and Integrity servers)
    On Alpha and Integrity server systems, unwinds the call stack.

    Format

      SYS$GOTO_UNWIND  target_invo ,target_pc ,[NewRetVal] ,

                       [NewRetVal2]

    C Prototype

      int sys$goto_unwind_64  (void *target_invo_64, void

                              *(*(target_pc_64)), unsigned_int64

                              *new_retval, unsigned_int64

                              *newretval2);

1  –  Arguments

 target_invo

    OpenVMS usage:invo_handle
    type:         quadword (unsigned)
    access:       read only
    mechanism:    by reference
    The address of a location that contains a handle for the target
    invocation.

    If you do not specify the target_invo argument, or if the handle
    value is 0, the effect of the call is undefined.

 target_pc

    OpenVMS usage:address
    type:         quadword (unsigned)
    access:       read only
    mechanism:    by reference
    The address of a location that contains the address at which
    execution should continue in the target invocation.

    If the target_pc argument is omitted or the value is 0, execution
    resumes at the location specified at the return address for the
    call frame of the target procedure invocation.

    If the target_invo argument is omitted or the value is 0, the
    target_pc argument is ignored. In this case, a system-defined
    target PC is assumed.

 NewRetVal

    OpenVMS usage:quadword_unsigned
    type:         quadword (unsigned)
    access:       read only
    mechanism:    by reference
    The address of a location that contains the value to place in
    the saved RetVal location of the mechanism argument vector. The
    contents of this location are then loaded into RetVal at the time
    that execution continues in the target invocation.

    If the NewRetVal argument is omitted, the contents of RetVal at
    the time of the call to $GOTO_UNWIND_64 are used.

    This argument is called New_R0 in SYS$GOTO_UNWIND for
    compatibility with Alpha.

 NewRet2

    OpenVMS usage:quadword_unsigned
    type:         quadword (unsigned)
    access:       read only
    mechanism:    by reference
    The address of a location that contains the value to place in
    the saved RetVal2 location of the mechanism argument vector. The
    contents of the location are then loaded into RetVal2 at the time
    that execution continues in the target invocation.

    If the NewRet2 argument is omitted, the contents of RetVal2 at
    the time of the call to $GOTO_UNWIND_64 are used.

    This argument is called New_R1 in SYS$GOTO_UNWIND for
    compatibility with Alpha.
Close Help