|
HP OpenVMS systems documentation |
Previous | Contents | Index |
Converts a PID to PCB and KTB addresses. Applicable to MACRO-32 only.
CVT_IPID_TO_PCB_KTB ipid ,ktbreg ,pcbreg ,fail
OpenVMS usage cond_value type longword (unsigned) access write only mechanism by value
Status indicating the success or failure of the operation.
ipid
This argument provides the internal PID to be converted.ktbreg
This argument is the destination to return the KTB address. The default is R14.pcbreg
This argument provides the register which returns the PCB. The default is R14.preserve
This argument is not used by this macro but is passed to CVT_IPID_TO_KTB to indicate whether to preserve R0 and R1.fail
This argument provides the address to transfer control if the ipid argument is not valid. If this transfer is taken, R0 contains one of the status values in the Return Values section.
The CVT_IPID_TO_PCB_KTB macro converts a PID to PCB and KTB addresses. This macro applies to MACRO-32 only.
SS$_NONEXPR The process does not exist. SS$_NOSUCHTHREAD The process exists but the thread does not.
Converts a PID to a KTB address. Applies to MACRO-32 only.
CVT_IPID_TO_KTB ipid ,ktbreg ,pcbreg ,perserve ,fail
OpenVMS usage cond_value type longword (unsigned) access write only mechanism by value
Status indicating the success or failure of the operation.
ipid
This argument provides the internal PID to be converted.ktbreg
This argument provides the register that returns the KTB. The default is R14.pcbreg
This argument provides the register which holds the PCB. The default is R14.preserve
This argument's default is YES to save R0 and R1.fail
This argument provides the address to transfer control if the ipid argument is not valid. If this transfer is taken, R0 contains one of the status values in the Return Values section.
The CVT_IPID_TO_KRB macro converts a PID to a KTB address. This macro applies to MACRO-32 only.
SS$_NONEXPR The process does not exist. SS$_NOSUCHTHREAD The process exists but the thread does not.
Index | Contents |