HP 3000 Manuals

func cmg [ System Debug Reference Manual ] MPE/iX 5.0 Documentation


System Debug Reference Manual

func cmg 

Returns the virtual address (SPTR) of a process's CMGLOBALS record.

Syntax 

      cmg (pin)

Formal Declaration 

      cmg:sptr (pin:u16)

Parameters 

 pin             The process identification number (PIN) for which the
                 address of the CMGLOBALS record is to be returned.

Examples 

     $nmdebug > wl cmg($8) 
     $c4680000

Limitations, Restrictions 

If the PIN does not exist, the function result is undefined and an error
status is set.



MPE/iX 5.0 Documentation